- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 426 for clause (0.06 seconds)
-
chainable_api.go
// }}) func (db *DB) Order(value interface{}) (tx *DB) { tx = db.getInstance() switch v := value.(type) { case clause.OrderBy: tx.Statement.AddClause(v) case clause.OrderByColumn: tx.Statement.AddClause(clause.OrderBy{ Columns: []clause.OrderByColumn{v}, }) case string: if v != "" { tx.Statement.AddClause(clause.OrderBy{ Columns: []clause.OrderByColumn{{
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
} // Test convertBooleanQuery with MUST_NOT clause @Test public void test_convertBooleanQuery_withMustNotClause() { BooleanQuery.Builder boolQueryBuilder = new BooleanQuery.Builder(); TermQuery termQuery = new TermQuery(new Term("field", "value")); boolQueryBuilder.add(termQuery, BooleanClause.Occur.MUST_NOT); // Add a MUST clause to make the query validCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.4K bytes - Click Count (0) -
statement.go
return []clause.Expression{clause.And(conds...)} } return nil } } conds = append(conds, clause.IN{Column: clause.Column{Table: curTable, Name: clause.PrimaryKey}, Values: args}) } } } if len(conds) > 0 { return []clause.Expression{clause.And(conds...)} } return nil } // Build build sql with clauses names func (stmt *Statement) Build(clauses ...string) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 20.9K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java
matchers.add(Defaults.createDefaultMatcher()); // BSD 4-clause stuff (is disallowed below) // we keep this here, in case someone adds BSD code for some reason, it should never be allowed. matchers.add(subStringMatcher("BSD4 ", "Original BSD License (with advertising clause)", "All advertising materials")); // Apache
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 10.6K bytes - Click Count (0) -
gorm.go
DB: db, ConnPool: db.ConnPool, Context: context.Background(), Clauses: map[string]clause.Clause{}, } if err == nil && !config.DisableAutomaticPing { if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok { err = pinger.Ping() if err != nil { if db, _ := db.DB(); db != nil { _ = db.Close() } } } } if err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.1K bytes - Click Count (0) -
callbacks/query.go
} exprs = append(exprs, clause.Expr{SQL: onSQL, Vars: vars}) } } } } return clause.Join{ Type: joinType, Table: clause.Table{Name: relation.FieldSchema.Table, Alias: tableAliasName}, ON: clause.Where{Exprs: exprs}, } } parentTableName := clause.CurrentTable for idx, rel := range relations {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 10.4K bytes - Click Count (3) -
callbacks/preload.go
import ( "fmt" "reflect" "sort" "strings" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils" ) // parsePreloadMap extracts nested preloads. e.g. // // // schema has a "k0" relation and a "k7.k8" embedded relation // parsePreloadMap(schema, map[string][]interface{}{ // clause.Associations: {"arg1"}, // "k1": {"arg2"}, // "k2.k3": {"arg3"},
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 11.7K bytes - Click Count (0) -
callbacks/associations.go
onConflict.Columns = make([]clause.Column, 0, len(s.PrimaryFieldDBNames)) for _, dbName := range s.PrimaryFieldDBNames { onConflict.Columns = append(onConflict.Columns, clause.Column{Name: dbName}) } onConflict.UpdateAll = stmt.DB.FullSaveAssociations if !onConflict.UpdateAll { onConflict.DoUpdates = clause.AssignmentColumns(defaultUpdatingColumns) } } else { onConflict.DoNothing = true
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Feb 13 06:16:26 GMT 2025 - 14.4K bytes - Click Count (0) -
callbacks/create.go
if field.AutoUpdateTime > 0 { assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime} switch field.AutoUpdateTime { case schema.UnixNanosecond: assignment.Value = curTime.UnixNano() case schema.UnixMillisecond: assignment.Value = curTime.UnixMilli() case schema.UnixSecond: assignment.Value = curTime.Unix() }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13K bytes - Click Count (0) -
association.go
tx = tx.Session(&Session{QueryFields: true}).Clauses(clause.From{Joins: []clause.Join{{ Table: clause.Table{Name: association.Relationship.JoinTable.Table}, ON: clause.Where{Exprs: queryConds}, }}}) } else { tx.Clauses(clause.Where{Exprs: queryConds}) } return tx } func expandValues(values ...any) (results []any) { appendToResult := func(rv reflect.Value) { // unwrap interface
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0)