Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 299 for WHERE (0.02 seconds)

  1. tests/generics_test.go

    	}
    
    	results, err := gorm.G[User](DB).Where("name IN (?)", gorm.G[User](DB).Select("name").Where("name LIKE ?", "GenericsSubquery%")).Find(ctx)
    	if err != nil {
    		t.Fatalf("got error: %v", err)
    	}
    
    	if len(results) != 4 {
    		t.Errorf("Four users should be found, instead found %d", len(results))
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  2. .github/workflows/cleanup-stale-performance-data.yml

                -e '
                USE results;
                DELETE FROM testOperation WHERE testExecution IN (SELECT id FROM testExecution WHERE startTime < NOW() - INTERVAL 365 DAY);
                DELETE FROM testExecution WHERE startTime < NOW() - INTERVAL 365 DAY;
                SELECT "results.testExecution count:" as database_table, COUNT(*) as stale_records FROM testExecution WHERE startTime < NOW() - INTERVAL 365 DAY;
                USE cross_build_results;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * This exception provides information about the URL where the error occurred
     * and whether the crawling process should be aborted.
     */
    public class DataStoreCrawlingException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The URL where the crawling error occurred.
         */
        private final String url;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. tests/chainable_api_test.go

    		t.Fatalf("Selects expected [name age], got %v", tx.Statement.Selects)
    	}
    
    	// Where
    	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")
    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)
  5. clause/expression.go

    	Eq(neq).Build(builder)
    }
    
    // Gt greater than for where
    type Gt Eq
    
    func (gt Gt) Build(builder Builder) {
    	builder.WriteQuoted(gt.Column)
    	builder.WriteString(" > ")
    	builder.AddVar(builder, gt.Value)
    }
    
    func (gt Gt) NegationBuild(builder Builder) {
    	Lte(gt).Build(builder)
    }
    
    // Gte greater than or equal to for where
    type Gte Eq
    
    func (gte Gte) Build(builder Builder) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. generics.go

    	db *DB
    }
    
    func (q *joinBuilder) Where(query interface{}, args ...interface{}) JoinBuilder {
    	q.db.Where(query, args...)
    	return q
    }
    
    func (q *joinBuilder) Or(query interface{}, args ...interface{}) JoinBuilder {
    	q.db.Where(query, args...)
    	return q
    }
    
    func (q *joinBuilder) Not(query interface{}, args ...interface{}) JoinBuilder {
    	q.db.Where(query, args...)
    	return q
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  7. callbacks/callbacks.go

    import (
    	"gorm.io/gorm"
    )
    
    var (
    	createClauses = []string{"INSERT", "VALUES", "ON CONFLICT"}
    	queryClauses  = []string{"SELECT", "FROM", "WHERE", "GROUP BY", "ORDER BY", "LIMIT", "FOR"}
    	updateClauses = []string{"UPDATE", "SET", "WHERE"}
    	deleteClauses = []string{"DELETE", "FROM", "WHERE"}
    )
    
    type Config struct {
    	LastInsertIDReversed bool
    	CreateClauses        []string
    	QueryClauses         []string
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy

            where:
            input   | expected
            "9.4.0" | "9.4.1"
            "9.4.1" | "9.4.2"
            "8.0.0" | "8.0.1"
            "1.2.3" | "1.2.4"
        }
    
        def "invalid version format is rejected"() {
            when:
            ReleasedVersionsHelperKt.bumpPatchVersion(version)
    
            then:
            thrown(IllegalArgumentException)
    
            where:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

            def newSnapshot = snapshot(version, referenceBuildTime + buildTime)
            expect:
            ReleasedVersionsHelperKt.updateReleasedVersions(newSnapshot, versions) == releasedVersions(newSnapshot, rc, [])
    
            where:
            version | buildTime
            '4.3'   | 1
            '4.4'   | -1
            '4.4'   | 1
        }
    
        def "older snapshots are not stored"() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    * Implement and use well-known cryptographic tools, like pwdlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top