- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for locale (0.14 sec)
-
schema/relationship_test.go
Name: "LocaleTags", Type: schema.Many2Many, Schema: "Blog", FieldSchema: "Tag", JoinTable: JoinTable{Name: "locale_blog_tags", Table: "locale_blog_tags"}, References: []Reference{ {"ID", "Blog", "BlogID", "locale_blog_tags", "", true}, {"Locale", "Blog", "BlogLocale", "locale_blog_tags", "", true}, {"ID", "Tag", "TagID", "locale_blog_tags", "", false}, }, }, ) } func TestMultipleMany2Many(t *testing.T) {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 25.5K bytes - Viewed (0) -
gorm.go
} if config.Logger == nil { config.Logger = logger.Default } if config.NowFunc == nil { config.NowFunc = func() time.Time { return time.Now().Local() } } if dialector != nil { config.Dialector = dialector } if config.Plugins == nil { config.Plugins = map[string]Plugin{} } if config.cacheStore == nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sun Aug 20 11:46:56 GMT 2023 - 11.6K bytes - Viewed (0) -
tests/sql_builder_test.go
} if DB.Dialector.Name() == "sqlserver" { t.Skip("Skip SQL Server for this test, because it too difference with other dialects.") } date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local) // find sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB { return tx.Model(&User{}).Where("id = ?", 100).Limit(10).Order("age desc").Find(&[]User{}) })
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 16.7K bytes - Viewed (0)