Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for Expression (0.07 sec)

  1. clause/expression.go

    import (
    	"database/sql"
    	"database/sql/driver"
    	"go/ast"
    	"reflect"
    )
    
    // Expression expression interface
    type Expression interface {
    	Build(builder Builder)
    }
    
    // NegationExpressionBuilder negation expression builder
    type NegationExpressionBuilder interface {
    	NegationBuild(builder Builder)
    }
    
    // Expr raw expression
    type Expr struct {
    	SQL                string
    	Vars               []interface{}
    Registered: 2025-05-25 09:35
    - Last Modified: 2023-10-10 06:45
    - 8.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/statement.go

    	if !selectAST.Expression.All &&
    		len(selectAST.Expression.Expressions) == 1 &&
    		len(selectAST.Expression.Expressions[0].Expression.And) == 1 &&
    		len(selectAST.Expression.Expressions[0].Expression.And[0].Condition) == 1 &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left != nil &&
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-09-23 19:35
    - 8.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser.go

    	strippedTableAlias string
    	strippedPathExpr   []*JSONPathElement
    }
    
    // AliasedExpression is an expression that can be optionally named
    type AliasedExpression struct {
    	Expression *Expression `parser:"@@"`
    	As         string      `parser:"[ \"AS\" @Ident | \"AS\" @LitString ]"`
    }
    
    // Grammar for Expression
    //
    // ExpressionAndCondition ("OR" AndCondition)*
    // AndCondition        → Condition ("AND" Condition)*
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-01-18 07:03
    - 12.9K bytes
    - Viewed (0)
  4. clause/select.go

    }
    
    func (s Select) MergeClause(clause *Clause) {
    	if s.Expression != nil {
    		if s.Distinct {
    			if expr, ok := s.Expression.(Expr); ok {
    				expr.SQL = "DISTINCT " + expr.SQL
    				clause.Expression = expr
    				return
    			}
    		}
    
    		clause.Expression = s.Expression
    	} else {
    		clause.Expression = s
    	}
    }
    
    // CommaExpression represents a group of expressions separated by commas.
    type CommaExpression struct {
    Registered: 2025-05-25 09:35
    - Last Modified: 2021-07-14 07:51
    - 1.1K bytes
    - Viewed (0)
  5. internal/s3select/unused-errors.go

    		message:    "Did not find the expected identifier for AT name in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseCannotMixSqbAndWildcardInSelectList(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseCannotMixSqbAndWildcardInSelectList",
    		message:    "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-02-20 08:16
    - 17.5K bytes
    - Viewed (0)
  6. clause/expression_test.go

    	column := "column-name"
    	results := []struct {
    		Expressions  []clause.Expression
    		ExpectedVars []interface{}
    		Result       string
    	}{{
    		Expressions: []clause.Expression{
    			clause.Eq{Column: column, Value: "column-value"},
    		},
    		ExpectedVars: []interface{}{"column-value"},
    		Result:       "`column-name` = ?",
    	}, {
    		Expressions: []clause.Expression{
    			clause.Eq{Column: column, Value: nil},
    Registered: 2025-05-25 09:35
    - Last Modified: 2023-08-10 05:34
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

      private Preconditions() {}
    
      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression) {
        if (!expression) {
          throw new IllegalArgumentException();
        }
      }
    
      /**
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-03-17 20:26
    - 52.8K bytes
    - Viewed (0)
  8. clause/where.go

    func (where Where) MergeClause(clause *Clause) {
    	if w, ok := clause.Expression.(Where); ok {
    		exprs := make([]Expression, len(w.Exprs)+len(where.Exprs))
    		copy(exprs, w.Exprs)
    		copy(exprs[len(w.Exprs):], where.Exprs)
    		where.Exprs = exprs
    	}
    
    	clause.Expression = where
    }
    
    func And(exprs ...Expression) Expression {
    	if len(exprs) == 0 {
    		return nil
    	}
    
    	if len(exprs) == 1 {
    Registered: 2025-05-25 09:35
    - Last Modified: 2024-04-25 12:22
    - 5.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *  @param contextNode The node to start searching from.
         *  @param expression A valid XPath string.
         *  @return A XPathNodes, should never be null.
         *
         * @throws XPathExpressionException
         */
        public XPathNodes selectNodeList(final Node contextNode, final String expression) throws XPathExpressionException {
            return xPath.evaluateExpression(expression, contextNode, XPathNodes.class);
        }
    
        /**
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-03-15 06:52
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Verify.java

    @GwtCompatible
    public final class Verify {
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no
       * message otherwise.
       *
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(boolean expression) {
        if (!expression) {
          throw new VerifyException();
        }
      }
    
      /**
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-03-17 20:26
    - 18.3K bytes
    - Viewed (0)
Back to top