Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 967 for WHERE (0.1 sec)

  1. tests/delete_test.go

    	}
    
    	var result User
    	if err := DB.Where("id = ?", users[1].ID).First(&result).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("should returns record not found error, but got %v", err)
    	}
    
    	for _, user := range []User{users[0], users[2]} {
    		result = User{}
    		if err := DB.Where("id = ?", user.ID).First(&result).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            where:
            clazz         | expected
            String        | []
            HasOneSource  | [HasOneSource.Source]
            HasTwoSources | [HasTwoSources.SourceOne, HasTwoSources.SourceTwo]
            IsASource     | [IsASource]
        }
    
        def "has model sources - #clazz"() {
            expect:
            detector.hasRules(clazz) == expected
    
            where:
            clazz        | expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/ktRendererUtils.kt

    public fun <S> renderAnnotationsModifiersAndContextReceivers(
        analysisSession: KaSession,
        symbol: S,
        declarationRenderer: KaDeclarationRenderer,
        printer: PrettyPrinter,
        keyword: KtKeywordToken,
    ): Unit where S : KaAnnotated, S : KaDeclarationSymbol = printer {
        renderAnnotationsModifiersAndContextReceivers(analysisSession, symbol, declarationRenderer, printer, listOf(keyword))
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. callbacks/helper.go

    }
    
    func checkMissingWhereConditions(db *gorm.DB) {
    	if !db.AllowGlobalUpdate && db.Error == nil {
    		where, withCondition := db.Statement.Clauses["WHERE"]
    		if withCondition {
    			if _, withSoftDelete := db.Statement.Clauses["soft_delete_enabled"]; withSoftDelete {
    				whereClause, _ := where.Expression.(clause.Where)
    				withCondition = len(whereClause.Exprs) > 1
    			}
    		}
    		if !withCondition {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java

            return new ModelType.Builder<ModelMap<I>>() {
            }.where(
                new ModelType.Parameter<I>() {
                }, type
            ).build();
        }
    
        public static <I> ModelType<ModelSet<I>> modelSet(ModelType<I> type) {
            return new ModelType.Builder<ModelSet<I>>() {
            }.where(
                new ModelType.Parameter<I>() {
                }, type
            ).build();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/goflags.go

    	// does not break commands that don't have a -ldflags.
    	// It also adjusts the output to be clear that the reported problem is from $GOFLAGS.
    	where := "$GOFLAGS"
    	if runtime.GOOS == "windows" {
    		where = "%GOFLAGS%"
    	}
    	for _, goflag := range goflags {
    		name, value, hasValue := goflag, "", false
    		// Ignore invalid flags like '=' or '=value'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. association.go

    			}
    			joinStmt.Build("WHERE")
    			if len(joinStmt.SQL.String()) > 0 {
    				tx.Clauses(clause.Expr{SQL: strings.Replace(joinStmt.SQL.String(), "WHERE ", "", 1), Vars: joinStmt.Vars})
    			}
    		}
    
    		tx = tx.Session(&Session{QueryFields: true}).Clauses(clause.From{Joins: []clause.Join{{
    			Table: clause.Table{Name: association.Relationship.JoinTable.Table},
    			ON:    clause.Where{Exprs: queryConds},
    		}}})
    	} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            when:
            def result = getMapUnderTestToRead().get(key)
    
            then:
            result == expectedResult
            1 * listener.onAccess(key, expectedResult)
    
            where:
            key                     | expectedResult
            EXISTING_KEY            | EXISTING_VALUE
            MISSING_KEY             | null
            'keyWithNonStringValue' | NON_STRING_VALUE
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/CircularEvaluationSpec.groovy

                when:
                consumer.accept(provider)
    
                then:
                CircularEvaluationException ex = thrown()
                ex.evaluationCycle == [provider, provider]
    
                where:
                consumer << throwingConsumers()
            }
    
            def "calling #consumer is safe even if user code causes circular evaluation"(
                Consumer<ProviderInternal<?>> consumer
            ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeParameter.java

    import javax.annotation.CheckForNull;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * <pre>{@code
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }</pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top