Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intCompare (0.16 sec)

  1. internal/s3select/sql/value.go

    		return arrayCompare(op, aArr, vArr)
    	}
    
    	isNumeric := v.isNumeric() && a.isNumeric()
    	if isNumeric {
    		intV, ok1i := v.ToInt()
    		intA, ok2i := a.ToInt()
    		if ok1i && ok2i {
    			return intCompare(op, intV, intA), nil
    		}
    
    		// If both values are numeric, then at least one is
    		// float since we got here, so we convert.
    		flV, _ := v.ToFloat()
    		flA, _ := a.ToFloat()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
Back to top