- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,703 for pselect (0.2 sec)
-
tests/group_by_test.go
var total int if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) } if name != "groupby" || total != 60 { t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
pkg/filewatcher/fakefilewatcher_test.go
if gotRemove != file { t.Fatalf("Remove() failed: got %v want %v", gotRemove, file) } select { case <-addedChan: t.Fatal("Remove() failed: callback invoked with added=false") default: } wantEvent = fsnotify.Event{Name: file, Op: fsnotify.Write} fakeWatcher.InjectEvent(file, wantEvent) select { case gotEvent := <-watcher.Events(file): t.Fatalf("Unexpected Events() after Remove(): got %v", gotEvent)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/ExternalModuleDependencyVariantSpec.java
/** * The specification of a dependency variant. Some dependencies can be fined tuned * to select a particular variant. For example, one might want to select the test * fixtures of a target component, or a specific classifier. * * @since 6.8 */ public interface ExternalModuleDependencyVariantSpec { /** * Configures the dependency to select the "platform" variant. */ void platform(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 27 23:38:43 UTC 2021 - 1.4K bytes - Viewed (0) -
clause/benchmarks_test.go
clauses := []clause.Interface{clause.Select{}, clause.From{}, clause.Where{Exprs: []clause.Expression{clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}, clause.Or(clause.Neq{Column: "name", Value: "jinzhu"})}}} for _, clause := range clauses { stmt.AddClause(clause) } stmt.Build("SELECT", "FROM", "WHERE") _ = stmt.SQL.String() } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0) -
test/codegen/condmove.go
// wasm:"Select" return x } func cmov32bit(x, y uint32) uint32 { if x < y { x = -y } // amd64:"CMOVL(HI|CS)" // arm64:"CSNEG\t(LS|HS)" // ppc64x:"ISEL\t[$]1" // wasm:"Select" return x } func cmov16bit(x, y uint16) uint16 { if x < y { x = -y } // amd64:"CMOVW(HI|CS)" // arm64:"CSNEG\t(LS|HS)" // ppc64x:"ISEL\t[$][01]" // wasm:"Select" return x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 20:57:33 UTC 2023 - 6.2K bytes - Viewed (0) -
src/runtime/race/testdata/chan_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 11K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphBuilderTest.groovy
then: 1 * conflictResolver.select(!null) >> { args -> def details = args[0] Collection<ComponentResolutionState> candidates = details.candidates assert candidates*.version == ['1.2', '1.1'] details.select(candidates.find { it.version == '1.2' }) } 1 * conflictResolver.select(!null) >> { args -> def details = args[0]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 45.1K bytes - Viewed (0) -
tests/count_test.go
result := dryDB.Table("users").Select("name").Count(&count) if !regexp.MustCompile(`SELECT COUNT\(.name.\) FROM .*users.*`).MatchString(result.Statement.SQL.String()) { t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String()) } result = dryDB.Table("users").Distinct("name").Count(&count)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/NoBuildDependenciesArtifactSetTest.groovy
def target = Stub(ArtifactSet) def selector = Stub(ArtifactVariantSelector) when: target.select(_, _) >> ResolvedArtifactSet.EMPTY then: new NoBuildDependenciesArtifactSet(target).select(selector, Mock(ArtifactSelectionSpec)) == ResolvedArtifactSet.EMPTY } def "creates wrapper for non-empty set of selected artifacts"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/NonInteractiveUserInputHandlerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 2.2K bytes - Viewed (0)