Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for UserID (0.3 sec)

  1. tests/create_test.go

    }
    
    func TestCreateWithNoGORMPrimaryKey(t *testing.T) {
    	type JoinTable struct {
    		UserID   uint
    		FriendID uint
    	}
    
    	DB.Migrator().DropTable(&JoinTable{})
    	if err := DB.AutoMigrate(&JoinTable{}); err != nil {
    		t.Errorf("no error should happen when auto migrate, but got %v", err)
    	}
    
    	jt := JoinTable{UserID: 1, FriendID: 2}
    	err := DB.Create(&jt).Error
    	if err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  2. tests/scanner_valuer_test.go

    	Allergen         NullString
    	Password         EncryptedData
    	Bytes            []byte
    	Num              Num
    	Strings          StringsSlice
    	Structs          StructsSlice
    	Role             Role
    	UserID           *sql.NullInt64
    	User             User
    	EmptyTime        EmptyTime
    	ExampleStruct    ExampleStruct
    	ExampleStructPtr *ExampleStruct
    }
    
    type EncryptedData []byte
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

    /**
     * An immutable builder for {@link Multimap} instances, letting you independently select the desired
     * behaviors (for example, ordering) of the backing map and value-collections. Example:
     *
     * <pre>{@code
     * ListMultimap<UserId, ErrorResponse> errorsByUser =
     *     MultimapBuilder.linkedHashKeys().arrayListValues().build();
     * SortedSetMultimap<String, Method> methodsForName =
     *     MultimapBuilder.treeKeys().treeSetValues(this::compareMethods).build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    	}
    
    	// TODO QueryParams, maybe Gateways
    	return strings.TrimSpace(retval)
    }
    
    func printPod(writer io.Writer, pod *corev1.Pod, revision string) {
    	ports := []string{}
    	UserID := int64(1337)
    	for _, container := range pod.Spec.Containers {
    		for _, port := range container.Ports {
    			var protocol string
    			// Suppress /<protocol> for TCP, print it for everything else
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. tests/update_test.go

    }
    
    type TokenOwner struct {
    	ID    int
    	Name  string
    	Token Token `gorm:"foreignKey:UserID"`
    }
    
    func (t *TokenOwner) BeforeSave(tx *gorm.DB) error {
    	t.Name += "_name"
    	return nil
    }
    
    type Token struct {
    	UserID  int    `gorm:"primary_key"`
    	Content string `gorm:"type:varchar(100)"`
    }
    
    func (t *Token) BeforeSave(tx *gorm.DB) error {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.10.md

    When we convert the OpenStack cloud provider to run in an external process, we can now use the kubernetes Secrets capability to inject the OS_* variables. This way we can specify the cloud configuration as a configmap, and specify secrets for the userid/password information. The configmap is mounted as a file, and the secrets are made available as environment variables. The external controller itself runs as a pod/daemonset. For backward compatibility, we preload all the OS_* variables, and if anything...
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 341.8K bytes
    - Viewed (0)
Back to top