- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,247 for bound (0.02 sec)
-
chainable_api.go
// // Attrs only adds attributes if the record is not found. // // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign an email if the record is not found, otherwise ignore provided email
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 14.8K bytes - Viewed (0) -
tests/delete_test.go
t.Errorf("User can't be found after delete") } if err := DB.Delete(&User{}, "name = ?", user2.Name).Error; err != nil { t.Errorf("No error should happen when delete a record, err=%s", err) } else if err := DB.Where("name = ?", user2.Name).First(&User{}).Error; !errors.Is(err, gorm.ErrRecordNotFound) { t.Errorf("User can't be found after delete") } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing:\n - %s\n", strings.Join(files, "\n - ")) } else { fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing %s.\n", strings.Join(files, "\n")) } } else { fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing %s.\n", analyzeTargetAsString()) } } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
scripts/deploy_docs_status.py
repo = g.get_repo(settings.github_repository) use_pr = next( (pr for pr in repo.get_pulls() if pr.head.sha == settings.commit_sha), None ) if not use_pr: logging.error(f"No PR found for hash: {settings.commit_sha}") return commits = list(use_pr.get_commits()) current_commit = [c for c in commits if c.sha == settings.commit_sha][0]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 09 15:52:41 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v2.go
} extracted := false for { stream, err := sr.NextStream() if err != nil { if err == io.EOF { if extracted { return nil } return errors.New("no data found on stream") } if errors.Is(err, estream.ErrNoKey) { if stream.Name == "inspect.zip" { return errors.New("incorrect private key") } if err := stream.Skip(); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 2.2K bytes - Viewed (0) -
istioctl/cmd/root_test.go
t.Helper() if strings.Contains(gotHelpText, flag) != wantExists { if wantExists { t.Errorf("%q flag was expected but not found in help text", flag) } else { t.Errorf("%q flag was found in help text but not expected", flag) } } } func TestHideInheritedFlags(t *testing.T) { const ( parentFlag0 = "parent-flag0" parentFlag1 = "parent-flag1"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 15 17:59:55 UTC 2021 - 2.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_an_py39.py
if not hero: raise HTTPException(status_code=404, detail="Hero not found") return hero @app.delete("/heroes/{hero_id}") def delete_hero(hero_id: int, session: SessionDep): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") session.delete(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.7K bytes - Viewed (0) -
src/archive/zip/struct.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* Package zip provides support for reading and writing ZIP archives. See the [ZIP specification] for details. This package does not support disk spanning. A note about ZIP64: To be backwards compatible the FileHeader has both 32 and 64 bit Size
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial014_py310.py
@app.get("/items/") async def read_items( hidden_query: str | None = Query(default=None, include_in_schema=False), ): if hidden_query: return {"hidden_query": hidden_query} else:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 298 bytes - Viewed (0) -
licenses/github.com/xeipuuv/gojsonpointer/NONE
NO LICENSE FOUND...
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 23 04:14:15 UTC 2020 - 17 bytes - Viewed (0)