- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 507 for selects (0.04 seconds)
-
tests/scopes_test.go
} var maxId int64 userTable := func(db *gorm.DB) *gorm.DB { return db.WithContext(context.Background()).Table("users") } if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil { t.Errorf("select max(id)") } } func TestComplexScopes(t *testing.T) { tests := []struct { name string queryFn func(tx *gorm.DB) *gorm.DB expected string }{ {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 3.3K bytes - Click Count (0) -
misc/ios/clangwrap.sh
#!/bin/sh # This script configures clang to target the iOS simulator. If you'd like to # build for real iOS devices, change SDK to "iphoneos" and PLATFORM to "ios". # This uses the latest available iOS SDK, which is recommended. To select a # specific SDK, run 'xcodebuild -showsdks' to see the available SDKs and replace # iphonesimulator with one of them. SDK=iphonesimulator PLATFORM=ios-simulator if [ "$GOARCH" == "arm64" ]; then CLANGARCH="arm64"
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 18 16:32:49 GMT 2024 - 724 bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
profile.setId(id); profile.setActivation(activation); return profile; } @Test void testThrowingActivator() { DefaultProfileSelector selector = new DefaultProfileSelector(); selector.addProfileActivator(new ProfileActivator() { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
docs_src/sql_databases/tutorial002_py39.py
from typing import Union from fastapi import Depends, FastAPI, HTTPException, Query from sqlmodel import Field, Session, SQLModel, create_engine, select class HeroBase(SQLModel): name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) class Hero(HeroBase, table=True): id: Union[int, None] = Field(default=None, primary_key=True) secret_name: str class HeroPublic(HeroBase):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.6K bytes - Click Count (0) -
cmd/peer-rest-client.go
} st.Results(func(b *grid.Bytes) error { select { case listenCh <- *b: default: // Do not block on slow receivers. b.Recycle() } return nil }) } // Listen - listen on peers. func (client *peerRESTClient) Listen(ctx context.Context, listenCh chan<- []byte, v url.Values) { go func() { for { client.doListen(ctx, listenCh, v) select { case <-ctx.Done(): return
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
‘HTTP 103 Early Hints’. * Fix: Read the response even if writing the request fails. This means you'll get a proper HTTP response even if the server rejects your request body. * Fix: Use literal IP addresses directly rather than passing them to `DnsOverHttps`. * Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
return fmt.Errorf("Select parameters can only be specified with SELECT request type") } if r.Type == SelectRestoreRequest && r.SelectParameters.IsEmpty() { return fmt.Errorf("SELECT restore request requires select parameters to be specified") } if r.Type != SelectRestoreRequest && !r.OutputLocation.IsEmpty() { return fmt.Errorf("OutputLocation required only for SELECT request type") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
docs/resiliency/resiliency-verify-healing-script.sh
FILE=$(echo $1 | jq -r '.args.file') DIR=$(echo $1 | jq -r '.args.dir') DEEP=$(echo $1 | jq -r '.args.deep') WANT=$(echo $1 | jq 'del(.args)') # ... and remove args from wanted result ALIAS_NAME=myminio BUCKET="test-bucket" JQUERY='select(.name=="'"${BUCKET}"'/'"${DIR}"'/'"${FILE}"'") | {"before":{"color": .before.color, "missing": .before.missing, "corrupted": .before.corrupted},"after":{"color": .after.color, "missing": .after.missing, "corrupted": .after.corrupted}}'
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 996 bytes - Click Count (0) -
internal/s3select/select_benchmark_test.go
func BenchmarkSelectAll_10M(b *testing.B) { benchmarkSelectAll(b, 10*humanize.MiByte) } func benchmarkSingleCol(b *testing.B, count int) { benchmarkSelect(b, count, "select id from S3Object") } // BenchmarkSingleRow_100K - benchmark SELECT column function with 100k records. func BenchmarkSingleCol_100K(b *testing.B) { benchmarkSingleCol(b, 1e5) } // BenchmarkSelectAll_1M - benchmark * function with 1m records.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5K bytes - Click Count (0) -
internal/s3select/sql/parser.go
// Translate doubled quotes *qi = QuotedIdentifier(strings.ReplaceAll(r, `""`, `"`)) return nil } // Types representing AST of SQL statement. Only SELECT is supported. // Select is the top level AST node type type Select struct { Expression *SelectExpression `parser:"\"SELECT\" @@"` From *TableExpression `parser:"\"FROM\" @@"` Where *Expression `parser:"( \"WHERE\" @@ )?"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0)