- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AndCondition (0.96 sec)
-
clause/where.go
func (where Where) Name() string { return "WHERE" } // Build build where clause func (where Where) Build(builder Builder) { if len(where.Exprs) == 1 { if andCondition, ok := where.Exprs[0].(AndConditions); ok { where.Exprs = andCondition.Exprs } } // Switch position if the first query expression is a single Or condition for idx, expr := range where.Exprs {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 5.1K bytes - Viewed (0) -
internal/s3select/sql/analysis.go
return e.Expression.analyze(s) } func (e *Expression) analyze(s *Select) (result qProp) { for _, ac := range e.And { result.combine(ac.analyze(s)) } return result } func (e *AndCondition) analyze(s *Select) (result qProp) { for _, ac := range e.Condition { result.combine(ac.analyze(s)) } return result } func (e *Condition) analyze(s *Select) (result qProp) { if e.Operand != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.6K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
} b, ok := res.ToBool() if !ok { return nil, errExpectedBool } if b { return FromBool(true), nil } result = result || b } return FromBool(result), nil } func (e *AndCondition) evalNode(r Record, tableAlias string) (*Value, error) { if len(e.Condition) == 1 { // In this case, result does not have to be boolean return e.Condition[0].evalNode(r, tableAlias) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0)