Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for Expression (0.42 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. 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: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        /**
         * Interpolates all expressions in the src parameter.
         * <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)
  5. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            List<Expression> expressions = documentation.getExpressions();
    
            Map<String, Expression> bySyntax = new HashMap<>();
    
            if (expressions != null && !expressions.isEmpty()) {
                for (Expression expression : expressions) {
                    bySyntax.put(expression.getSyntax(), expression);
                }
            }
    
            return bySyntax;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/mdo/paramdoc.mdo

                expressionsBySyntax = new java.util.HashMap();
    
                java.util.List expressions = getExpressions();
    
                if ( expressions != null && !expressions.isEmpty() )
                {
                    for ( java.util.Iterator it = expressions.iterator(); it.hasNext(); )
                    {
                        Expression expr = (Expression) it.next();
    
                        expressionsBySyntax.put( expr.getSyntax(), expr );
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

        <description> This is the MavenProject instance for the parent of the current POM.
        </description>
      </expression>
      <expression>
        <syntax>project.file</syntax>
        <description> This is the File instance that refers to the location of the current POM on
          disk.
        </description>
      </expression>
      <expression>
        <syntax>project.artifacts</syntax>
        <configuration>
          <![CDATA[
    <dependencies>
      ...
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top