Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intCompare (0.17 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()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top