Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for true (0.26 sec)

  1. tests/migrate_test.go

    	myIndex := &migrator.Index{TableName: table, NameValue: "my_us8_index", ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    	user := *GetUser("query_with_association", Config{Account: true, Pets: 2, Toys: 1, Company: true, Manager: true, Team: 2, Languages: 1, Friends: 3})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create user: %v", err)
    	}
    
    	user.CreatedAt = time.Time{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top