Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RHS (0.13 sec)

  1. internal/s3select/sql/evaluate.go

    	default:
    		return nil, errInvalidASTNode
    	}
    	rhs = *eltVal
    
    	// If RHS is array compare each element.
    	if arr, ok := rhs.ToArray(); ok {
    		for _, element := range arr {
    			// If we have an array we are on the wrong level.
    			if cmp(element, *lhs) {
    				return FromBool(true), nil
    			}
    		}
    		return FromBool(false), nil
    	}
    
    	return FromBool(cmp(rhs, *lhs)), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    	EscapeChar *Operand `parser:" (\"ESCAPE\" @@)? "`
    }
    
    // Between represents the RHS of a BETWEEN expression
    type Between struct {
    	Not   bool     `parser:" @\"NOT\"? "`
    	Start *Operand `parser:" \"BETWEEN\" @@ "`
    	End   *Operand `parser:" \"AND\" @@ "`
    }
    
    // In represents the RHS of an IN expression. The RHS can be a list-literal
    // (i.e. enclosed in parentheses like `IN (1,2,4)`) or it could be a JSON path
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top