Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 950 for clause (0.06 seconds)

  1. clause/clause.go

    // Package clause provides the clause interface and common clause implementations for GORM.
    package clause
    
    // Interface clause interface
    type Interface interface {
    	Name() string
    	Build(Builder)
    	MergeClause(*Clause)
    }
    
    // ClauseBuilder clause builder, allows to customize how to build clause
    type ClauseBuilder func(Clause, Builder)
    
    type Writer interface {
    	WriteByte(byte) error
    	WriteString(string) (int, error)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. apache-maven/src/main/appended-resources/licenses/BSD-2-Clause.txt

    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri May 17 19:14:22 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. apache-maven/src/main/appended-resources/licenses/BSD-3-Clause.txt

    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri May 17 19:14:22 GMT 2024
    - 1.4K bytes
    - Click Count (1)
  4. clause/returning.go

    	}
    }
    
    // MergeClause merge order by clauses
    func (returning Returning) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Returning); ok && len(returning.Columns) > 0 {
    		if v.Columns != nil {
    			returning.Columns = append(v.Columns, returning.Columns...)
    		} else {
    			returning.Columns = nil
    		}
    	}
    	clause.Expression = returning
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Jan 12 10:18:04 GMT 2025
    - 777 bytes
    - Click Count (0)
  5. clause/where.go

    		} else {
    			expr.Build(builder)
    		}
    	}
    }
    
    // MergeClause merge where clauses
    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 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  6. tests/chainable_api_test.go

    	tx = tx.Where("age = ?", 20)
    	c, ok := tx.Statement.Clauses["WHERE"]
    	if !ok {
    		t.Fatalf("WHERE clause expected")
    	}
    	if where, ok := c.Expression.(clause.Where); !ok || len(where.Exprs) == 0 {
    		t.Fatalf("WHERE expressions expected, got %v", c.Expression)
    	}
    
    	// Order
    	tx = tx.Order("name DESC")
    	if _, ok := tx.Statement.Clauses["ORDER BY"]; !ok {
    		t.Fatalf("ORDER BY clause expected")
    	}
    
    	// Limit / Offset
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*    *##elseif ( $license.name == "BSD-2-Clause" || $license.name == "The BSD 2-Clause License"
                        || $license.url.contains( "www.opensource.org/licenses/bsd-license" ) )
    #*      *##set ( $spdx = 'BSD-2-Clause' )
    #*    *##elseif ( $license.name == "BSD-3-Clause"
                        || $license.url.contains( "opensource.org/licenses/BSD-3-Clause" ) )
    #*      *##set ( $spdx = 'BSD-3-Clause' )
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. internal/s3select/sql/statement.go

    		return stmt, err
    	}
    
    	// Analyze where clause
    	if selectAST.Where != nil {
    		whereQProp := selectAST.Where.analyze(&selectAST)
    		if whereQProp.err != nil {
    			err = errQueryAnalysisFailure(fmt.Errorf("Where clause error: %w", whereQProp.err))
    			return stmt, err
    		}
    
    		if whereQProp.isAggregation {
    			err = errQueryAnalysisFailure(errors.New("WHERE clause cannot have an aggregation"))
    			return stmt, err
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. clause/set.go

    		builder.WriteByte('=')
    		builder.WriteQuoted(Column{Name: PrimaryKey})
    	}
    }
    
    // MergeClause merge assignments clauses
    func (set Set) MergeClause(clause *Clause) {
    	copiedAssignments := make([]Assignment, len(set))
    	copy(copiedAssignments, set)
    	clause.Expression = Set(copiedAssignments)
    }
    
    // Assignments implements Assigner for Set.
    func (set Set) Assignments() []Assignment { return []Assignment(set) }
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Sep 09 01:34:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. chainable_api.go

    //	}})
    func (db *DB) Order(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    
    	switch v := value.(type) {
    	case clause.OrderBy:
    		tx.Statement.AddClause(v)
    	case clause.OrderByColumn:
    		tx.Statement.AddClause(clause.OrderBy{
    			Columns: []clause.OrderByColumn{v},
    		})
    	case string:
    		if v != "" {
    			tx.Statement.AddClause(clause.OrderBy{
    				Columns: []clause.OrderByColumn{{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 14.8K bytes
    - Click Count (0)
Back to Top