Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for UNIQUE (0.05 sec)

  1. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. migrator.go

    	Nullable() (nullable bool, ok bool)
    	Unique() (unique bool, ok bool)
    	ScanType() reflect.Type
    	Comment() (value string, ok bool)
    	DefaultValue() (value string, ok bool)
    }
    
    type Index interface {
    	Table() string
    	Name() string
    	Columns() []string
    	PrimaryKey() (isPrimaryKey bool, ok bool)
    	Unique() (unique bool, ok bool)
    	Option() string
    }
    
    // TableType table type interface
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  5. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 02:32:46 UTC 2023
    - 1023 bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    	[op(0x0f)]
    	int LsarLookupSids([in] policy_handle *handle,
    			[in] LsarSidArray *sids,
    			[out,unique] LsarRefDomainList *domains,
    			[in,out] LsarTransNameArray *names,
    			[in] uint16_t level,
    			[in,out] uint32_t *count);
    
    	[op(0x2c)]
    	int LsarOpenPolicy2([in,string,unique] wchar_t *system_name,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    
    	[op(0x0f)]
    	int LsarLookupSids([in] policy_handle *handle,
    			[in] LsarSidArray *sids,
    			[out,unique] LsarRefDomainList *domains,
    			[in,out] LsarTransNameArray *names,
    			[in] uint16_t level,
    			[in,out] uint32_t *count);
    
    	[op(0x2c)]
    	int LsarOpenPolicy2([in,string,unique] wchar_t *system_name,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	} SamrAcctFlags;
    
    	[op(0x01)]
    	int SamrCloseHandle([in] policy_handle *handle);
    
    	[op(0x39)]
    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top