- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 2,305 for id (0.04 seconds)
-
tests/associations_test.go
t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count) } var newUser User if user, ok := data.(User); ok { DB.Find(&newUser, "id = ?", user.ID) } else if user, ok := data.(*User); ok { DB.Find(&newUser, "id = ?", user.ID) } if newUser.ID != 0 { if count := DB.Model(&newUser).Association(name).Count(); count != result { t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial015_an_py310.py
} def check_valid_id(id: str): if not id.startswith(("isbn-", "imdb-")): raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"') return id @app.get("/items/") async def read_items( id: Annotated[str | None, AfterValidator(check_valid_id)] = None, ): if id: item = data.get(id) else: id, item = random.choice(list(data.items()))
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 01 22:02:35 GMT 2025 - 768 bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java
} /** * Retrieves a specific related query setting by ID. * * @param id the ID of the related query to retrieve * @return JSON response containing the related query configuration */ // GET /api/admin/relatedquery/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.4K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/tflite-other.md
- type: input id: Bazel attributes: label: Bazel version description: if compiling from source placeholder: validations: required: false - type: input id: Compiler attributes: label: GCC/Compiler version description: if compiling from source placeholder: validations: required: false - type: input id: Cuda attributes: label: CUDA/cuDNN version description: placeholder: validations: required: falseCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Dec 29 22:28:29 GMT 2022 - 3.4K bytes - Click Count (0) -
cmd/testdata/decryptObjectInfo.json.zst
decryptObjectInfo.json.zst [{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/script/mod_init_dep.txt","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"7oyUrB+n4Xb57xJsT/c+d3vF5fW5pWtPEyxNC/oTP80=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAJjZ2dY7iCAom9rP/UK/5mmg/gpSloOs8Xjy5gYKtTDfL==","X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key":"IAAfAN+0R4CsC3ibYvamkvm9KIg+hidIQ==","X-Minio-Internal-Server...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 29 16:34:20 GMT 2020 - 164K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
protwordsService.getProtwordsItem(dictId, id).ifPresent(entity -> { protwordsService.delete(dictId, entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); }).orElse(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
* @param id The identifier of the profile. */ public void activateRequiredProfile(String id) { this.activations.put(id, ActivationSettings.activated()); } /** * Mark a profile as optional and activated. * @param id The identifier of the profile. */ public void activateOptionalProfile(String id) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 5.6K bytes - Click Count (0) -
internal/config/lambda/event/targetlist.go
type TargetList struct { sync.RWMutex targets map[TargetID]Target } // Add - adds unique target to target list. func (list *TargetList) Add(targets ...Target) error { list.Lock() defer list.Unlock() for _, target := range targets { if _, ok := list.targets[target.ID()]; ok { return fmt.Errorf("target %v already exists", target.ID()) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.3K bytes - Click Count (0) -
tests/joins_test.go
user := User{Name: "kingGo", CompanyID: &companyB.ID} DB.Create(&user) query := DB.Model(&User{}).Joins("Company") var total int64 query.Count(&total) var result User if err := query.First(&result, user.ID).Error; err != nil { t.Fatalf("Failed, got error: %v", err) } if result.ID != user.ID { t.Fatalf("result's id, %d, doesn't match user's id, %d", result.ID, user.ID) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 15K bytes - Click Count (0)