Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for conds (0.01 sec)

  1. association.go

    				conds = append(conds, clause.IN{Column: pcolumn, Values: pvalues})
    			} else {
    				return ErrPrimaryKeyRequired
    			}
    
    			_, rvs := schema.GetIdentityFieldValuesMapFromValues(association.DB.Statement.Context, values, primaryFields)
    			relColumn, relValues := schema.ToQueryValues(rel.Schema.Table, foreignKeys, rvs)
    			conds = append(conds, clause.IN{Column: relColumn, Values: relValues})
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:09:12 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. statement.go

    								where.Exprs[0] = clause.AndConditions(orConds)
    							}
    						}
    					}
    					conds = append(conds, clause.And(where.Exprs...))
    				} else if cs.Expression != nil {
    					conds = append(conds, cs.Expression)
    				}
    			}
    		case map[interface{}]interface{}:
    			for i, j := range v {
    				conds = append(conds, clause.Eq{Column: i, Value: j})
    			}
    		case map[string]string:
    			keys := make([]string, 0, len(v))
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. chainable_api.go

    func (db *DB) Clauses(conds ...clause.Expression) (tx *DB) {
    	tx = db.getInstance()
    	var whereConds []interface{}
    
    	for _, cond := range conds {
    		if c, ok := cond.(clause.Interface); ok {
    			tx.Statement.AddClause(c)
    		} else if optimizer, ok := cond.(StatementModifier); ok {
    			optimizer.ModifyStatement(tx.Statement)
    		} else {
    			whereConds = append(whereConds, cond)
    		}
    	}
    
    	if len(whereConds) > 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. finisher_api.go

    // First finds the first record ordered by primary key, matching given conditions conds
    func (db *DB) First(dest interface{}, conds ...interface{}) (tx *DB) {
    	tx = db.Limit(1).Order(clause.OrderByColumn{
    		Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    	})
    	if len(conds) > 0 {
    		if exprs := tx.Statement.BuildCondition(conds[0], conds[1:]...); len(exprs) > 0 {
    			tx.Statement.AddClause(clause.Where{Exprs: exprs})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  5. schema/relationship.go

    				relForeignKeys = append(relForeignKeys, ref.ForeignKey.DBName)
    			} 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},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 16 04:11:05 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    }
                    dr.pathConsumed--;
                }
    
                if (log.isDebugEnabled()) {
                    final String cons = reqPath.substring(0, consumed);
                    log.debug("Request " + reqPath + " ref path " + dr.path + " consumed " + dr.pathConsumed + ": " + cons);
                }
            }
    
            return dr;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                String passwd = cliRequest.commandLine.getOptionValue(CLIManager.ENCRYPT_PASSWORD);
    
                if (passwd == null) {
                    Console cons = System.console();
                    char[] password = (cons == null) ? null : cons.readPassword("Password: ");
                    if (password != null) {
                        // Cipher uses Strings
                        passwd = String.copyValueOf(password);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top