- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for UNIQUE (0.04 sec)
-
schema/index_test.go
} func TestParseIndexWithUniqueIndexAndUnique(t *testing.T) { type IndexTest struct { FieldA string `gorm:"unique;index"` // unique and index FieldB string `gorm:"unique"` // unique FieldC string `gorm:"index:,unique"` // uniqueIndex FieldD string `gorm:"uniqueIndex;index"` // uniqueIndex and index FieldE1 string `gorm:"uniqueIndex:uniq_field_e1_e2"` // mul uniqueIndex
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Dec 06 02:27:44 UTC 2024 - 7.9K bytes - Viewed (0) -
tests/table_test.go
if err != nil { t.Fatalf("failed to parse user unique, got error %v", err) } constraints := user.ParseUniqueConstraints() if len(constraints) != 1 { t.Fatalf("failed to find unique constraint, got %v", constraints) } for key := range constraints { if len(key) != 63 { t.Errorf("failed to find unique constraint, got %v", constraints) } } })
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0) -
tests/migrate_test.go
if field == nil { t.Fatalf("%v: failed to find column %q", utils.FileWithLineNum(), fieldName) } if field.Unique != unique { t.Fatalf("%v: %q column %q unique should be %v but got %v", utils.FileWithLineNum(), stmt.Schema.Table, fieldName, unique, field.Unique) } if field.UniqueIndex != uniqueIndex {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
schema/index.go
return } subName = composite } name = field.Schema.namer.IndexName( field.Schema.Table, subName) } if (k == "UNIQUEINDEX") || settings["UNIQUE"] != "" { settings["CLASS"] = "UNIQUE" } priority, err := strconv.Atoi(settings["PRIORITY"]) if err != nil { priority = 10 } indexes = append(indexes, Index{ Name: name,
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 21 02:35:56 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
In this case, you will have to ensure that each operation ID is **unique** in some other way. For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name). ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
String nonceStr = Arrays.toString(nonce); assertFalse(nonces.contains(nonceStr), "Nonce should be unique"); nonces.add(nonceStr); } // Then all nonces should be unique assertEquals(numNonces, nonces.size(), "All nonces should be unique"); } @Test @DisplayName("Should generate secure nonces with proper randomness")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
faultCodes.add(DcerpcError.DCERPC_FAULT_UNK_IF); faultCodes.add(DcerpcError.DCERPC_FAULT_PROTO_ERROR); // Verify all 9 codes are unique assertEquals(9, faultCodes.size(), "All fault codes should be unique"); } @Test @DisplayName("Should verify fault code value ranges and patterns") void testFaultCodeValueRanges() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
docs/security/README.md
To summarize for any encrypted object there exists (at least) three different keys: - [OEK](#oek): A secret and unique key used to encrypted the object, stored in an encrypted form as part of the object metadata and only loaded to RAM in plaintext during en/decrypting the object.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/MutableValueGraph.java
* @since 20.0 */ @Beta public interface MutableValueGraph<N, V> extends ValueGraph<N, V> { /** * Adds {@code node} if it is not already present. * * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null. * * @return {@code true} if the graph was modified as a result of this call */ @CanIgnoreReturnValue boolean addNode(N node); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
} /** * Create a remote deployment repository. * * @param id the unique identifier of the repository * @param url the URL of the repository * @param layout the layout of the repository * @param uniqueVersion whether to assign each snapshot a unique version */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.7K bytes - Viewed (0)