- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 251 for columns (0.09 sec)
-
scan.go
matchedFieldCount := make(map[string]int, len(columns)) for idx, column := range columns { if field := sch.LookUpField(column); field != nil && field.Readable { fields[idx] = field if count, ok := matchedFieldCount[column]; ok { // handle duplicate fields for _, selectField := range sch.Fields { if selectField.DBName == column && selectField.Readable { if count == 0 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 10.1K bytes - Viewed (0) -
callbacks/create.go
if stmt.Schema != nil && len(values.Columns) >= 1 { selectColumns, restricted := stmt.SelectAndOmitColumns(true, true) columns := make([]string, 0, len(values.Columns)-1) for _, column := range values.Columns { if field := stmt.Schema.LookUpField(column.Name); field != nil { if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
callbacks/helper_test.go
"name": "my name", }, expect: clause.Values{ Columns: []clause.Column{{Name: "name"}}, Values: [][]interface{}{{"my name"}}, }, }, { name: "Test convert int value", input: map[string]interface{}{ "age": 18, }, expect: clause.Values{ Columns: []clause.Column{{Name: "age"}}, Values: [][]interface{}{{18}}, }, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
callbacks/query.go
clauseSelect.Columns[idx] = clause.Column{Name: name, Raw: true} } else if f := db.Statement.Schema.LookUpField(name); f != nil { clauseSelect.Columns[idx] = clause.Column{Name: f.DBName} } else { clauseSelect.Columns[idx] = clause.Column{Name: name, Raw: true} } } } else if db.Statement.Schema != nil && len(db.Statement.Omits) > 0 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 10.1K bytes - Viewed (1) -
guava/src/com/google/common/collect/SparseImmutableTable.java
Map<R, Map<C, V>> rows = Maps.newLinkedHashMap(); for (R row : rowSpace) { rows.put(row, new LinkedHashMap<C, V>()); } Map<C, Map<R, V>> columns = Maps.newLinkedHashMap(); for (C col : columnSpace) { columns.put(col, new LinkedHashMap<R, V>()); } int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnInRowIndices = new int[cellList.size()];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
chainable_api.go
// Order specify order when retrieving records from database // // db.Order("name DESC") // db.Order(clause.OrderByColumn{Column: clause.Column{Name: "name"}, Desc: true}) // db.Order(clause.OrderBy{Columns: []clause.OrderByColumn{ // {Column: clause.Column{Name: "name"}, Desc: true}, // {Column: clause.Column{Name: "age"}, Desc: true}, // }}) func (db *DB) Order(value interface{}) (tx *DB) { tx = db.getInstance()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
Map<R, Map<C, V>> rows = Maps.newLinkedHashMap(); for (R row : rowSpace) { rows.put(row, new LinkedHashMap<C, V>()); } Map<C, Map<R, V>> columns = Maps.newLinkedHashMap(); for (C col : columnSpace) { columns.put(col, new LinkedHashMap<R, V>()); } int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnInRowIndices = new int[cellList.size()];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
statement.go
} } else { results[col] = result } } else { results[column] = result } } // select columns for _, column := range stmt.Selects { processColumn(column, true) } // omit columns for _, column := range stmt.Omits { processColumn(column, false) } if stmt.Schema != nil { for _, field := range stmt.Schema.FieldsByName {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
* Table} interface. * * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported. * Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/s3select/csv/reader.go
r.err = errCSVParsingError(err) return errCSVParsingError(err) } return err } if r.args.FileHeaderInfo == use { // Copy column names since records will be reused. columns := append(make([]string, 0, len(record)), record...) r.columnNames = columns } } r.bufferPool.New = func() interface{} { return make([]byte, csvSplitSize+1024) } // Return first block
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0)