Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ToBool (0.14 sec)

  1. internal/s3select/sql/statement.go

    	if e.selectAST.Where == nil {
    		return true, nil
    	}
    	value, err := e.selectAST.Where.evalNode(input, e.tableAlias)
    	if err != nil {
    		return false, err
    	}
    
    	b, ok := value.ToBool()
    	if !ok {
    		err = fmt.Errorf("WHERE expression did not return bool")
    		return false, err
    	}
    
    	return b, nil
    }
    
    // AggregateRow - aggregates the input record. Applies only to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top