Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for EXPRESSION (0.05 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: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. clause/select.go

    		builder.WriteByte('*')
    	}
    }
    
    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.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolationException.java

            this.expression = expression;
            this.originalMessage = message;
        }
    
        public ModelInterpolationException(String expression, String message) {
            super("The POM expression: " + expression + " could not be evaluated. Reason: " + message);
    
            this.expression = expression;
            this.originalMessage = message;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            boostExpression = expression;
        }
    
        /**
         * Gets the current match expression.
         *
         * @return the match expression string
         */
        public String getMatchExpression() {
            return matchExpression;
        }
    
        /**
         * Sets the match expression used to determine if documents should be boosted.
         *
         * @param expression the match expression string
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. clause/joins.go

    type Join struct {
    	Type       JoinType
    	Table      Table
    	ON         Where
    	Using      []string
    	Expression Expression
    }
    
    func JoinTable(names ...string) Table {
    	return Table{
    		Name: utils.JoinNestedRelationNames(names),
    	}
    }
    
    func (join Join) Build(builder Builder) {
    	if join.Expression != nil {
    		join.Expression.Build(builder)
    	} else {
    		if join.Type != "" {
    			builder.WriteString(string(join.Type))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. clause/clause.go

    type Clause struct {
    	Name                string // WHERE
    	BeforeExpression    Expression
    	AfterNameExpression Expression
    	AfterExpression     Expression
    	Expression          Expression
    	Builder             ClauseBuilder
    }
    
    // Build build clause
    func (c Clause) Build(builder Builder) {
    	if c.Builder != nil {
    		c.Builder(c, builder)
    	} else if c.Expression != nil {
    		if c.BeforeExpression != nil {
    			c.BeforeExpression.Build(builder)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. clause/joins_test.go

    			},
    			sql: "INNER JOIN `user` USING (`id`)",
    		},
    		{
    			name: "Expression",
    			join: clause.Join{
    				// Invalid
    				Type:  clause.LeftJoin,
    				Table: clause.Table{Name: "user"},
    				ON: clause.Where{
    					Exprs: []clause.Expression{clause.Eq{clause.Column{Table: "user_info", Name: "user_id"}, clause.PrimaryColumn}},
    				},
    				// Valid
    				Expression: clause.Join{
    					Type:  clause.InnerJoin,
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Nov 03 13:03:13 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedKeyword: {
    		Code:           "ParseExpectedKeyword",
    		Description:    "Did not find the expected keyword in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedTokenType: {
    		Code:           "ParseExpectedTokenType",
    		Description:    "Did not find the expected token in the SQL expression.",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

         * <p>
         * The algorithm used for each expression is:
         * <ul>
         *   <li>If it starts with either "pom." or "project.", the expression is evaluated against the model.</li>
         *   <li>If the value is null, get the value from the context.</li>
         *   <li>If the value is null, but the context contains the expression, don't replace the expression string
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top