- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Salinas (0.16 sec)
-
callbacks/query.go
return clause.Join{ Type: joinType, Table: clause.Table{Name: relation.FieldSchema.Table, Alias: tableAliasName}, ON: clause.Where{Exprs: exprs}, } } parentTableName := clause.CurrentTable for _, rel := range relations { // joins table alias like "Manager, Company, Manager__Company" nestedAlias := utils.NestedRelationName(parentTableName, rel.Name)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Jan 29 03:34:57 GMT 2024 - 9.9K bytes - Viewed (0) -
migrator/migrator.go
if !field.PrimaryKey { // check type if !strings.HasPrefix(fullDataType, realDataType) { // check type aliases aliases := m.DB.Migrator().GetTypeAliases(realDataType) for _, alias := range aliases { if strings.HasPrefix(fullDataType, alias) { isSameType = true break } } if !isSameType { alterColumn = true } } } if !isSameType { // check size
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Apr 26 07:15:49 GMT 2024 - 29K bytes - Viewed (0) -
utils/utils_unix_test.go
want: "/Users/name/go/pkg/mod/gorm.io/", }, { file: "/go/work/proj/gorm/utils/utils.go", want: "/go/work/proj/gorm/", }, { file: "/go/work/proj/gorm_alias/utils/utils.go", want: "/go/work/proj/gorm_alias/", }, { file: "/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go", want: "/go/work/proj/my.gorm.io/gorm@v1.2.3/", }, } for _, c := range cases { s := sourceDir(c.file)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Nov 21 02:48:13 GMT 2022 - 731 bytes - Viewed (0) -
utils/utils_windows_test.go
want: `C:/Users/name/go/pkg/mod/gorm.io/`, }, { file: `C:/go/work/proj/gorm/utils/utils.go`, want: `C:/go/work/proj/gorm/`, }, { file: `C:/go/work/proj/gorm_alias/utils/utils.go`, want: `C:/go/work/proj/gorm_alias/`, }, { file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`, want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`, }, } for _, c := range cases {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Nov 21 02:48:13 GMT 2022 - 715 bytes - Viewed (0) -
clause/clause.go
PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey} ) // Column quote with name type Column struct { Table string Name string Alias string Raw bool } // Table quote with name type Table struct { Name string Alias string Raw bool
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) -
statement.go
if stmt.TableExpr != nil { stmt.TableExpr.Build(stmt) } else { write(v.Raw, stmt.Table) } } else { write(v.Raw, v.Name) } if v.Alias != "" { writer.WriteByte(' ') write(v.Raw, v.Alias) } case clause.Column: if v.Table != "" { if v.Table == clause.CurrentTable { write(v.Raw, stmt.Table) } else { write(v.Raw, v.Table) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 19.8K bytes - Viewed (0) -
clause/expression_test.go
Vars: []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias"}}, Result: "`table`.`col` AS `alias`", }, { SQL: "?", Vars: []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias", Raw: true}}, Result: "table.col AS alias", }, { SQL: "?", Vars: []interface{}{clause.Table{Name: "table", Alias: "alias"}}, Result: "`table` `alias`", }, { SQL: "?",
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Aug 10 05:34:33 GMT 2023 - 8.4K bytes - Viewed (0)