Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for Column (0.16 sec)

  1. 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 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  3. 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 {
    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)
  4. android/guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  5. android/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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. 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) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. 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 {
    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)
  8. android/guava/src/com/google/common/collect/Table.java

       * @return the corresponding map from column keys to values
       */
      Map<C, V> row(@ParametricNullness R rowKey);
    
      /**
       * Returns a view of all mappings that have the given column key. For each row key / column key /
       * value mapping in the table with that column key, the returned map associates the row key with
       * the value. If no mappings in the table have the provided column key, an empty map is returned.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/StandardTable.java

       *
       * <p>The returned map's views have iterators that don't support {@code remove()}.
       */
      @Override
      public Map<R, V> column(C columnKey) {
        return new Column(columnKey);
      }
    
      private class Column extends ViewCachingAbstractMap<R, V> {
        final C columnKey;
    
        Column(C columnKey) {
          this.columnKey = checkNotNull(columnKey);
        }
    
        @Override
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
Back to top