- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 296 for clause (0.21 seconds)
-
clause/clause.go
// Package clause provides the clause interface and common clause implementations for GORM. package clause // Interface clause interface type Interface interface { Name() string Build(Builder) MergeClause(*Clause) } // ClauseBuilder clause builder, allows to customize how to build clause type ClauseBuilder func(Clause, Builder) type Writer interface { WriteByte(byte) error WriteString(string) (int, error) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 1.8K bytes - Click Count (0) -
tests/chainable_api_test.go
tx = tx.Where("age = ?", 20) c, ok := tx.Statement.Clauses["WHERE"] if !ok { t.Fatalf("WHERE clause expected") } if where, ok := c.Expression.(clause.Where); !ok || len(where.Exprs) == 0 { t.Fatalf("WHERE expressions expected, got %v", c.Expression) } // Order tx = tx.Order("name DESC") if _, ok := tx.Statement.Clauses["ORDER BY"]; !ok { t.Fatalf("ORDER BY clause expected") } // Limit / Offset
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jan 31 08:39:40 GMT 2026 - 3.9K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 13:24:46 GMT 2026 - 3.9K 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) -
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) -
schema/schema.go
FieldsWithDefaultDBValue []*Field // fields with default value assigned by database Relationships Relationships CreateClauses []clause.Interface QueryClauses []clause.Interface UpdateClauses []clause.Interface DeleteClauses []clause.Interface BeforeCreate, AfterCreate bool BeforeUpdate, AfterUpdate bool BeforeDelete, AfterDelete bool BeforeSave, AfterSave bool
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0) -
generics.go
} if len(selectExpr.Exprs) == 0 { selectExpr.Exprs = []clause.Expression{clause.Expr{SQL: "*", Vars: []interface{}{}}} } partitionBy := clause.CommaExpression{} for _, column := range refColumns { partitionBy.Exprs = append(partitionBy.Exprs, clause.Expr{SQL: "?", Vars: []interface{}{clause.Column{Name: column.Name}}})
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
migrator/migrator.go
createTableSQL += "CONSTRAINT ? UNIQUE (?)," values = append(values, clause.Column{Name: uni.Name}, clause.Expr{SQL: stmt.Quote(uni.Field.DBName)}) } for _, chk := range stmt.Schema.ParseCheckConstraints() { createTableSQL += "CONSTRAINT ? CHECK (?)," values = append(values, clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 29.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
} // Test addQuery with no clauses added @Test public void test_addQuery_withNoClauses() { queryContext = new QueryContext("test", false); QueryBuilder initialQuery = QueryBuilders.termQuery("field", "value"); queryContext.setQueryBuilder(initialQuery); queryContext.addQuery(boolQuery -> { // Don't add any clauses });Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.6K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
} } // symRefAttrs parses an optional function symbol attribute clause for // the function symbol 'name', logging an error for a malformed // attribute clause if 'issueError' is true. The return value is a // (boolean, ABI) pair indicating that the named symbol is either // static or a particular ABI specification. // // The expected form of the attribute clause is: // // empty, yielding (false, obj.ABI0)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 17 19:57:47 GMT 2026 - 37.3K bytes - Click Count (0)