Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addCondition (0.06 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top