- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 480 for schemat (0.04 sec)
-
migrator.go
} // TableType table type interface type TableType interface { Schema() string Name() string Type() string Comment() (comment string, ok bool) } // Migrator migrator interface type Migrator interface { // AutoMigrate AutoMigrate(dst ...interface{}) error // Database CurrentDatabase() string FullDataTypeOf(*schema.Field) clause.Expr GetTypeAliases(databaseTypeName string) []string // TablesRegistered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 3.1K bytes - Viewed (0) -
docs/id/docs/tutorial/first-steps.md
#### "schema" Data Istilah "schema" bisa juga merujuk ke struktur data, seperti konten JSON. Dalam kondisi ini, ini berarti attribut JSON dan tipe data yang dimiliki, dll. #### Schema OpenAPI and JSON
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Dec 12 21:46:36 UTC 2024 - 12K bytes - Viewed (0) -
docs/en/docs/how-to/extending-openapi.md
{* ../../docs_src/extending_openapi/tutorial001.py hl[22:24] *} ### Cache the OpenAPI schema { #cache-the-openapi-schema } You can use the property `.openapi_schema` as a "cache", to store your generated schema. That way, your application won't have to generate the schema every time a user opens your API docs. It will be generated only once, and then the same cached schema will be used for the next requests.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.3K bytes - Viewed (0) -
tests/table_test.go
} type UserWithTableNamer struct { gorm.Model Name string } func (UserWithTableNamer) TableName(namer schema.Namer) string { return namer.TableName("user") } func TestTableWithNamer(t *testing.T) { db, _ := gorm.Open(tests.DummyDialector{}, &gorm.Config{ NamingStrategy: schema.NamingStrategy{ TablePrefix: "t_", }, }) sql := db.ToSQL(func(tx *gorm.DB) *gorm.DB {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0) -
tests/serializer_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
schema/callbacks_test.go
"reflect" "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/schema" ) type UserWithCallback struct{} func (UserWithCallback) BeforeSave(*gorm.DB) error { return nil } func (UserWithCallback) AfterCreate(*gorm.DB) error { return nil } func TestCallback(t *testing.T) { user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 939 bytes - Viewed (0) -
schema/relationship_test.go
syncMap := &sync.Map{} for i := 0; i < 10; i++ { go func() { schema.Parse(&Info1{}, syncMap, schema.NamingStrategy{IdentifierMaxLength: 64}) }() go func() { schema.Parse(&Info2{}, syncMap, schema.NamingStrategy{IdentifierMaxLength: 64}) }() go func() { var result User schema.Parse(&result, syncMap, schema.NamingStrategy{IdentifierMaxLength: 64}) }() go func() {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 26.5K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
"schema": {} } } } }, "x-aperture-labs-portal": "blue" } } } } ``` ### Custom OpenAPI *path operation* schema { #custom-openapi-path-operation-schema }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
android-test/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.test"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <application android:usesCleartextTraffic="true" tools:targetApi="m"/>Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 387 bytes - Viewed (0) -
callbacks/associations.go
"gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils" ) func SaveBeforeAssociations(create bool) func(db *gorm.DB) { return func(db *gorm.DB) { if db.Error == nil && db.Statement.Schema != nil { selectColumns, restricted := db.Statement.SelectAndOmitColumns(create, !create) // Save Belongs To associations for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Feb 13 06:16:26 UTC 2025 - 14.4K bytes - Viewed (0)