Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Copeland (0.14 sec)

  1. internal/s3select/sql/parser.go

    }
    
    // Condition represents a negation or a condition operand
    type Condition struct {
    	Operand *ConditionOperand `parser:"  @@"`
    	Not     *Condition        `parser:"| \"NOT\" @@"`
    }
    
    // ConditionOperand is a operand followed by an optional operation expression.
    type ConditionOperand struct {
    	Operand      *Operand      `parser:"@@"`
    	ConditionRHS *ConditionRHS `parser:"@@?"`
    }
    
    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)
  2. internal/s3select/sql/evaluate.go

    		}
    		result = result && b
    	}
    	return FromBool(result), nil
    }
    
    func (e *Condition) evalNode(r Record, tableAlias string) (*Value, error) {
    	if e.Operand != nil {
    		// In this case, result does not have to be boolean
    		return e.Operand.evalNode(r, tableAlias)
    	}
    
    	// Compute NOT of condition
    	res, err := e.Not.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top