- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for bufname (0.34 sec)
-
schema/index.go
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 3.7K bytes - Viewed (0) -
callbacks/associations.go
onConflict = onConflictOption(db.Statement, rel.FieldSchema, defaultUpdatingColumns) refName = rel.Name + "." values = rValues.Interface() ) for name, ok := range selectColumns { columnName := "" if strings.HasPrefix(name, refName) { columnName = strings.TrimPrefix(name, refName) } if columnName != "" { if ok { selects = append(selects, columnName)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Apr 11 03:06:13 GMT 2023 - 14.3K bytes - Viewed (0) -
tests/table_test.go
t.Errorf("failed to find unique constraint, got %v", constraints) } } }) t.Run("namer", func(t *testing.T) { uname := "custom_unique_name" db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{ NamingStrategy: mockUniqueNamingStrategy{ UName: uname, }, }) user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy) if err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Mar 09 09:31:28 GMT 2024 - 10.6K bytes - Viewed (0) -
tests/migrate_test.go
} func TestMigrateWithUniqueIndex(t *testing.T) { type UserWithUniqueIndex struct { ID int Name string `gorm:"size:20;index:idx_name,unique"` Date time.Time `gorm:"index:idx_name,unique"` UName string `gorm:"uniqueIndex;size:255"` } DB.Migrator().DropTable(&UserWithUniqueIndex{}) if err := DB.AutoMigrate(&UserWithUniqueIndex{}); err != nil { t.Fatalf("failed to migrate, got %v", err) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
tests/tests_all.sh
then cd tests go get -u -t ./... go mod download go mod tidy cd .. fi # SqlServer for Mac M1 if [[ -z $GITHUB_ACTION ]]; then if [ -d tests ] then cd tests if [[ $(uname -a) == *" arm64" ]]; then MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker-compose start || true go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest || true
Shell Script - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Feb 08 08:29:09 GMT 2023 - 1.6K bytes - Viewed (0)