Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for COLUMN (0.07 sec)

  1. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. clause/order_by_test.go

    				Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}},
    			}},
    			"SELECT * FROM `users` ORDER BY `users`.`id` DESC", nil,
    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{}, clause.OrderBy{
    					Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}},
    				}, clause.OrderBy{
    					Columns: []clause.OrderByColumn{{Column: clause.Column{Name: "name"}}},
    				},
    			},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. clause/expression_test.go

    			clause.Eq{Column: column, Value: (*string)(nil)},
    			clause.Eq{Column: column, Value: (*int)(nil)},
    			clause.Eq{Column: column, Value: (*bool)(nil)},
    			clause.Eq{Column: column, Value: (interface{})(nil)},
    			clause.Eq{Column: column, Value: sql.NullString{String: "", Valid: false}},
    		},
    		Result: "`column-name` IS NULL",
    	}, {
    		Expressions: []clause.Expression{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. clause/select_test.go

    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.From{}},
    			"SELECT `users`.`id` FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.Select{
    				Columns: []clause.Column{{Name: "name"}},
    			}, clause.From{}},
    			"SELECT `name` FROM `users`", nil,
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. callbacks/query.go

    								if ref.OwnPrimaryKey {
    									exprs[idx] = clause.Eq{
    										Column: clause.Column{Table: parentTableName, Name: ref.PrimaryKey.DBName},
    										Value:  clause.Column{Table: tableAliasName, Name: ref.ForeignKey.DBName},
    									}
    								} else {
    									if ref.PrimaryValue == "" {
    										exprs[idx] = clause.Eq{
    											Column: clause.Column{Table: parentTableName, Name: ref.ForeignKey.DBName},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. callbacks/delete.go

    						queryConds = append(queryConds, clause.Eq{
    							Column: clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName},
    							Value:  ref.PrimaryValue,
    						})
    					}
    				}
    
    				_, foreignValues := schema.GetIdentityFieldValuesMap(db.Statement.Context, db.Statement.ReflectValue, foreignFields)
    				column, values := schema.ToQueryValues(table, relForeignKeys, foreignValues)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. clause/where_test.go

    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?",
    			[]interface{}{"1", "jinzhu", 18},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. callbacks/create.go

    				if _, ok := db.Statement.Clauses["RETURNING"]; !ok {
    					fromColumns := make([]clause.Column, 0, len(db.Statement.Schema.FieldsWithDefaultDBValue))
    					for _, field := range db.Statement.Schema.FieldsWithDefaultDBValue {
    						fromColumns = append(fromColumns, clause.Column{Name: field.DBName})
    					}
    					db.Statement.AddClause(clause.Returning{Columns: fromColumns})
    				}
    			}
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. 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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. finisher_api.go

    			} else if eq, ok := expr.(clause.Eq); ok {
    				switch column := eq.Column.(type) {
    				case string:
    					assigns[column] = eq.Value
    				case clause.Column:
    					assigns[column.Name] = eq.Value
    				}
    			}
    		}
    
    		return tx.Model(dest).Updates(assigns)
    	}
    
    	return tx
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top