- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 176 for COLUMN (0.03 sec)
-
clause/group_by_test.go
Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}}, }}, "SELECT * FROM `users` GROUP BY `role` HAVING `role` = ?", []interface{}{"admin"}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{ Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.1K bytes - Viewed (0) -
statement_test.go
"`User__Company`.*": {"User__Company", "*"}, `"User__Company".*`: {"User__Company", "*"}, `"table"."*"`: {"", ""}, } { if table, column := matchName(k); table != v[0] || column != v[1] { t.Errorf("failed to match value: %v, got %v, expect: %v", k, []string{table, column}, v) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Dec 23 13:19:41 UTC 2023 - 1.9K bytes - Viewed (0) -
schema/naming.go
func (ns NamingStrategy) CheckerName(table, column string) string { return ns.formatName("chk", table, column) } // IndexName generate index name func (ns NamingStrategy) IndexName(table, column string) string { return ns.formatName("idx", table, ns.toDBName(column)) } // UniqueName generate unique constraint name func (ns NamingStrategy) UniqueName(table, column string) string {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0) -
schema/utils_test.go
`gorm:"before:value;column; after:value" other:"before:value;column:db;after:value"`: `gorm:"before:value; after:value" other:"before:value;column:db;after:value"`, } for k, v := range tags { if string(removeSettingFromTag(reflect.StructTag(k), "column")) != v { t.Errorf("%v after removeSettingFromTag should equal %v, but got %v", k, v, removeSettingFromTag(reflect.StructTag(k), "column")) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jul 31 10:19:25 UTC 2020 - 1.5K bytes - Viewed (0) -
schema/relationship.go
} else if ref.PrimaryValue != "" { conds = append(conds, clause.Eq{ Column: clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName}, Value: ref.PrimaryValue, }) } else { conds = append(conds, clause.Eq{ Column: clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName}, Value: clause.Column{Table: rel.FieldSchema.Table, Name: ref.PrimaryKey.DBName}, }) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 23.1K bytes - Viewed (1) -
tests/migrate_test.go
t.Fatalf("column age comment should be correct, name: %v, column: %#v", columnType.Name(), columnType) } case "code": if v, ok := columnType.Unique(); !ok || !v { t.Fatalf("column code unique should be correct, name: %v, column: %#v", columnType.Name(), columnType) } if v, ok := columnType.DefaultValue(); !ok || v != "hello" {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
generics.go
} if len(selectExpr.Exprs) == 0 { selectExpr.Exprs = []clause.Expression{clause.Expr{SQL: "*", Vars: []interface{}{}}} } partitionBy := clause.CommaExpression{} for _, column := range refColumns { partitionBy.Exprs = append(partitionBy.Exprs, clause.Expr{SQL: "?", Vars: []interface{}{clause.Column{Name: column.Name}}}) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
association.go
} } else { tx.Clauses(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue}) } } _, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, primaryFields) if column, values := schema.ToQueryValues(rel.JoinTable.Table, joinPrimaryKeys, pvs); len(values) > 0 { tx.Where(clause.IN{Column: column, Values: values}) } else { return ErrPrimaryKeyRequired
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/TableCollectors.java
} private static final class MutableCell<R, C, V> extends AbstractCell<R, C, V> { private final R row; private final C column; private V value; MutableCell(R row, C column, V value) { this.row = checkNotNull(row, "row"); this.column = checkNotNull(column, "column"); this.value = checkNotNull(value, "value"); } @Override public R getRowKey() { return row;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 7.5K bytes - Viewed (0) -
dbflute_fess/dfprop/basicInfoMap.dfprop
# Is the column name camel case? # Basically you don't need this if the style of column name is like 'FOO_NAME'. # [true] # The column name is camel case. # e.g. If the column name is 'OrderDetailId', the class name is 'OrderDetailId'. # # [false] # e.g. If the column name is 'ORDER_DETAIL_ID', the class name is 'OrderDetailId'.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 9.2K bytes - Viewed (0)