- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Ct (0.12 sec)
-
tests/migrate_test.go
err = DB.AutoMigrate(&ArrayTypeModel{}) AssertEqual(t, nil, err) ct, err := findColumnType(&ArrayTypeModel{}, "number") AssertEqual(t, nil, err) AssertEqual(t, "varchar", ct.DatabaseTypeName()) ct, err = findColumnType(&ArrayTypeModel{}, "text_array") AssertEqual(t, nil, err) AssertEqual(t, "text[]", ct.DatabaseTypeName()) ct, err = findColumnType(&ArrayTypeModel{}, "nested_text_array")
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) -
clause/clause.go
if c.AfterExpression != nil { builder.WriteByte(' ') c.AfterExpression.Build(builder) } } } const ( PrimaryKey string = "~~~py~~~" // primary key CurrentTable string = "~~~ct~~~" // current table Associations string = "~~~as~~~" // associations ) var ( currentTable = Table{Name: CurrentTable} PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey} )
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Feb 02 09:15:08 GMT 2023 - 1.7K bytes - Viewed (0) -
migrator/table_type.go
} // Schema returns the schema of the table. func (ct TableType) Schema() string { return ct.SchemaValue } // Name returns the name of the table. func (ct TableType) Name() string { return ct.NameValue } // Type returns the type of the table. func (ct TableType) Type() string { return ct.TypeValue } // Comment returns the comment of current table. func (ct TableType) Comment() (comment string, ok bool) {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri May 05 07:58:27 GMT 2023 - 688 bytes - Viewed (0)