Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 248 for EXPRESSION (0.03 sec)

  1. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Nov 03 13:03:13 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. clause/where_test.go

    				Exprs: []clause.Expression{clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}), clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}},
    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?",
    			[]interface{}{"1", "jinzhu", 18},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. 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: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/mdo/paramdoc.mdo

          </codeSegments>
        </class>
        <class>
          <version>1.0.0</version>
          <name>Expression</name>
          <description>A plugin parameter expression supported by Maven</description>
          <fields>
            <field>
              <version>1.0.0</version>
              <name>syntax</name>
              <description>The syntax of the expression</description>
              <type>String</type>
              <required>true</required>
            </field>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

         */
        @Override
        public Object getValue(String expression) {
            if (expression == null || expression.trim().isEmpty()) {
                return null;
            }
    
            try {
                return ReflectionValueExtractor.evaluate(expression, root, false);
            } catch (Exception e) {
                addFeedback("Failed to extract \'" + expression + "\' from: " + root, e);
            }
    
            return null;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator;
    
    /**
     * Evaluator for plugin parameters expressions. Content surrounded by <code>${</code> and <code>}</code> is evaluated.
     * Recognized values are:
     * <table border="1">
     * <caption>Expression matrix</caption>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. clause/order_by.go

    	Desc    bool
    	Reorder bool
    }
    
    type OrderBy struct {
    	Columns    []OrderByColumn
    	Expression Expression
    }
    
    // Name where clause name
    func (orderBy OrderBy) Name() string {
    	return "ORDER BY"
    }
    
    // Build build where clause
    func (orderBy OrderBy) Build(builder Builder) {
    	if orderBy.Expression != nil {
    		orderBy.Expression.Build(builder)
    	} else {
    		for idx, column := range orderBy.Columns {
    			if idx > 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 03 02:30:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
Back to top