- Sort Score
- Num 10 results
- Language All
Results 2491 - 2500 of 7,900 for usen (0.04 seconds)
-
tests/group_by_test.go
var name string 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) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
docs/bucket/replication/setup_replication.sh
cat ./repladmin-policy-source.json #assign this replication policy to repladmin mc admin policy attach source repladmin-policy --user=repladmin ### on dest alias # Create a replication user : repluser on dest alias mc admin user add dest repluser repluser123 # create a replication policy for repluser
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 26 05:07:25 GMT 2023 - 2.6K bytes - Click Count (0) -
docs_src/graphql_/tutorial001_py39.py
import strawberry from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter @strawberry.type class User: name: str age: int @strawberry.type class Query: @strawberry.field def user(self) -> User: return User(name="Patrick", age=100) schema = strawberry.Schema(query=Query) graphql_app = GraphQLRouter(schema) app = FastAPI()Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 424 bytes - Click Count (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt
fun pluginEntriesFrom(jar: File): List<PluginEntry> = try { JarFile(jar, false).use { jarFile -> jarFile.entries().asSequence().filter { isGradlePluginPropertiesFile(it) }.map { pluginEntry -> val pluginProperties = jarFile.getInputStream(pluginEntry).use { Properties().apply { load(it) } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 1.8K bytes - Click Count (0) -
tests/sql_builder_test.go
return tx.Model(&User{}).Unscoped().Where(&User{Name: "bar", Age: 12}).Limit(10).Offset(5).Order("name ASC").Last(&User{}) }) assertEqualSQL(t, `SELECT * FROM "users" WHERE "users"."name" = 'bar' AND "users"."age" = 12 ORDER BY name ASC,"users"."id" DESC LIMIT 1 OFFSET 5`, sql) // create user := &User{Name: "foo", Age: 20} user.CreatedAt = date user.UpdatedAt = date
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/distributed/decom-encrypted-sse-s3.sh
pid=$! ./mc ready myminio ./mc admin user add myminio/ minio123 minio123 ./mc admin user add myminio/ minio12345 minio12345 ./mc admin policy create myminio/ rw ./docs/distributed/rw.json ./mc admin policy create myminio/ lake ./docs/distributed/rw.json ./mc admin policy attach myminio/ rw --user=minio123 ./mc admin policy attach myminio/ lake --user=minio12345 ./mc mb -l myminio/versioned
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 4.5K bytes - Click Count (0) -
tests/test_tutorial/test_header_param_models/test_tutorial003.py
"x_tag": [], "accept": "*/*", "accept-encoding": "gzip, deflate", "connection": "keep-alive", "user-agent": "testclient", "save-data": "true", "if-modified-since": "yesterday", "x-tag": ["one", "two"], }, }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.5K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
"InjectOnConstructorOfAbstractClass", // We use abstract injection as a pattern "InlineMeSuggester", // Only suppression seems to actually "fix" this, so make it global "JavaUtilDate", // We are fine with using Date "JavaxInjectOnAbstractMethod", // We use abstract injection as a pattern "MissingSummary", // We have another mechanism to check Javadocs on public API
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 01 11:57:43 GMT 2025 - 9.3K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py310.py
def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.3K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py39.py
def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.3K bytes - Click Count (0)