- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for exprs (0.03 seconds)
-
generics.go
j.Omits = stmt.Omits } } expr := clause.NamedExpr{SQL: fmt.Sprintf("%s JOIN (?) AS ?", joinType), Vars: []interface{}{jt.Subquery, clause.Table{Name: j.Alias}}} if j.On != nil { expr.SQL += " ON ?" expr.Vars = append(expr.Vars, clause.AndConditions{Exprs: j.On.Exprs}) } j.Expression = expr } db.Statement.Joins = append(db.Statement.Joins, j)Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
tests/chainable_api_test.go
} // Where 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") }
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) -
migrator/migrator.go
} } return m.Dialector.DataTypeOf(field) } // FullDataTypeOf returns field's db full data type func (m Migrator) FullDataTypeOf(field *schema.Field) (expr clause.Expr) { expr.SQL = m.DataTypeOf(field) if field.NotNull { expr.SQL += " NOT NULL" } if field.HasDefaultValue && (field.DefaultValueInterface != nil || field.DefaultValue != "") { if field.DefaultValueInterface != nil {
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) -
gorm.go
tx.Statement = db.Statement.clone() tx.Statement.DB = tx } return tx } return db } // Expr returns clause.Expr, which can be used to pass SQL expression as params func Expr(expr string, args ...interface{}) clause.Expr { return clause.Expr{SQL: expr, Vars: args} } // SetupJoinTable setup join table schema
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) -
src/cmd/cgo/ast.go
func (f *File) saveExprs(x any, context astContext) { switch x := x.(type) { case *ast.Expr: switch (*x).(type) { case *ast.SelectorExpr: f.saveRef(x, context) } case *ast.CallExpr: f.saveCall(x, context) } } // Save references to C.xxx for later processing. func (f *File) saveRef(n *ast.Expr, context astContext) { sel := (*n).(*ast.SelectorExpr)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:59 GMT 2026 - 14.4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
// see in assembly code are simple, but for the record: // // 1) Evaluation uses uint64; the old one used int64. // 2) Precedence uses Go rules not C rules. // expr = term | term ('+' | '-' | '|' | '^') term. func (p *Parser) expr() uint64 { value := p.term() for { switch p.peek() { case '+': p.next() value += p.term() case '-': p.next() value -= p.term()
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) -
apache-maven/src/assembly/maven/bin/mvn
MINGW*) mingw=true;; esac ## resolve links - $0 may be a link to Maven's home PRG="$0" # need this for relative symlinks while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG="`dirname "$PRG"`/$link" fi done saveddir=`pwd` MAVEN_HOME=`dirname "$PRG"`/.. # make it fully qualified
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml
<module name="UnnecessaryParentheses"> <!-- defaults are too strict, see https://github.com/checkstyle/checkstyle/issues/10946 -->
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 11 10:24:25 GMT 2025 - 6.6K bytes - Click Count (0) -
schema/field.go
} } else if valuer, ok := v.(driver.Valuer); ok { if v, err = valuer.Value(); err == nil { err = setter(ctx, value, v) } } else if _, ok := v.(clause.Expr); !ok { return fmt.Errorf("failed to set value %#v to field %s", v, field.Name) } } return } // Set switch field.FieldType.Kind() { case reflect.Bool:Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.34.md
- go.opentelemetry.io/otel/sdk/metric: v1.34.0 - go.yaml.in/yaml/v2: v2.4.2 - go.yaml.in/yaml/v3: v3.0.4 - sigs.k8s.io/structured-merge-diff/v6: v6.3.0 ### Changed - cel.dev/expr: v0.19.1 → v0.24.0 - cloud.google.com/go/compute/metadata: v0.5.0 → v0.6.0 - github.com/Microsoft/hnslib: [v0.0.8 → v0.1.1](https://github.com/Microsoft/hnslib/compare/v0.0.8...v0.1.1)
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 03:19:43 GMT 2026 - 368.7K bytes - Click Count (2)