- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 350 for uniqueBy (0.04 sec)
-
schema/constraint_test.go
Name: "uni_user_uniques_name1", Field: &schema.Field{Name: "Name1", Unique: true}, }, } for k, result := range results { v, ok := constraints[k] if !ok { t.Errorf("Failed to found unique constraint %v from parsed constraints %+v", k, constraints) } tests.AssertObjEqual(t, result, v, "Name") tests.AssertObjEqual(t, result.Field, v.Field, "Name", "Unique", "UniqueIndex") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 2.2K bytes - Viewed (0) -
migrator/index.go
// PrimaryKey returns the index is primary key or not. func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) { return idx.PrimaryKeyValue.Bool, idx.PrimaryKeyValue.Valid } // Unique returns whether the index is unique or not. func (idx Index) Unique() (unique bool, ok bool) { return idx.UniqueValue.Bool, idx.UniqueValue.Valid } // Option return the optional attribute of the index func (idx Index) Option() string {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Apr 11 02:32:46 UTC 2023 - 1023 bytes - Viewed (0) -
cmd/event-notification.go
UserAgent string } // ToEvent - converts to notification event. func (args eventArgs) ToEvent(escape bool) event.Event { eventTime := UTCNow() uniqueID := fmt.Sprintf("%X", eventTime.UnixNano()) if !args.Object.ModTime.IsZero() { uniqueID = fmt.Sprintf("%X", args.Object.ModTime.UnixNano()) } respElements := map[string]string{ "x-amz-request-id": args.RespElements["requestId"],
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl
} ShareCtr; [op(0x0f)] int ShareEnumAll([in,string,unique] wchar_t *servername, [in,out] int *level, [in,out,switch_is(*level)] ShareCtr *info, [in] unsigned long prefmaxlen, [out] unsigned long *totalentries, [in,out] unsigned long *resume_handle); [op(0x10)] int ShareGetInfo([in,string,unique] wchar_t *servername, [in,string] wchar_t *sharename, [in] int level,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.2K bytes - Viewed (0) -
migrator/column_type.go
func (ct ColumnType) Nullable() (nullable bool, ok bool) { if ct.NullableValue.Valid { return ct.NullableValue.Bool, true } return ct.SQLColumnType.Nullable() } // Unique reports whether the column may be unique. func (ct ColumnType) Unique() (unique bool, ok bool) { return ct.UniqueValue.Bool, ct.UniqueValue.Valid } // ScanType returns a Go type suitable for scanning into using Rows.Scan.
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 3.3K 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) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl
typedef struct { uint32_t level, [switch_is(level)] DfsEnumInfo e; } DfsEnumStruct; [op(0x15)] int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name, [in] uint32_t level, [in] uint32_t prefmaxlen, [in,out,unique] DfsEnumStruct *info, [in,out,unique] uint32_t *totalentries);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.idl
typedef struct { uint32_t level, [switch_is(level)] DfsEnumInfo e; } DfsEnumStruct; [op(0x15)] int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name, [in] uint32_t level, [in] uint32_t prefmaxlen, [in,out,unique] DfsEnumStruct *info, [in,out,unique] uint32_t *totalentries);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl
} ShareCtr; [op(0x0f)] int ShareEnumAll([in,string,unique] wchar_t *servername, [in,out] int *level, [in,out,switch_is(*level)] ShareCtr *info, [in] unsigned long prefmaxlen, [out] unsigned long *totalentries, [in,out] unsigned long *resume_handle); [op(0x10)] int ShareGetInfo([in,string,unique] wchar_t *servername, [in,string] wchar_t *sharename, [in] int level,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2.2K bytes - Viewed (0)