- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 206 for statements (0.05 sec)
-
callbacks/create_test.go
Email: "email", Age: 18, }, { ID: 2, Name: "bob", Email: "email", Age: 19, }, } stmt := &gorm.Statement{ DB: &gorm.DB{ Config: &gorm.Config{ NowFunc: func() time.Time { return time.Time{} }, }, Statement: &gorm.Statement{ Settings: sync.Map{}, Schema: s, }, }, ReflectValue: reflect.ValueOf(dest), Dest: dest, }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
tests/scanner_valuer_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
docs/bucket/replication/setup_replication.sh
# create a replication admin user : repladmin mc admin user add source repladmin repladmin123 # create a replication policy for repladmin cat >repladmin-policy-source.json <<EOF { "Version": "2012-10-17", "Statement": [ { "Action": [ "admin:SetBucketTarget", "admin:GetBucketTarget" ], "Effect": "Allow", "Sid": "" }, { "Effect": "Allow",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 26 05:07:25 UTC 2023 - 2.6K bytes - Viewed (0) -
tests/count_test.go
t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String()) } result = dryDB.Table("users").Distinct("name").Count(&count) if !regexp.MustCompile(`SELECT COUNT\(DISTINCT\(.name.\)\) FROM .*users.*`).MatchString(result.Statement.SQL.String()) { t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String()) } var count4 int64
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
tests/distinct_test.go
if !regexp.MustCompile(`SELECT DISTINCT u\.id, u\.\* FROM user_speaks as s inner join users as u`).MatchString(r.Statement.SQL.String()) { t.Fatalf("Build Distinct with u.*, but got %v", r.Statement.SQL.String()) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
/** Index of the currently iterated {@link Iterator}. */ protected int index; /** * Returns an {@link Iterable} that wraps a {@link MultiIterator} for use in a for-each statement. * * @param <E> the element type * @param iterables the array of {@link Iterable} (must not be {@literal null}) * @return an {@link Iterable} wrapping a {@link MultiIterator} */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
callbacks/helper_test.go
Values: [][]interface{}{{true}}, }, }, } for _, tc := range testCase { t.Run(tc.name, func(t *testing.T) { actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input) if !reflect.DeepEqual(actual, tc.expect) { t.Errorf("expect %v got %v", tc.expect, actual) } }) } } func TestConvertSliceOfMapToValuesForCreate(t *testing.T) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
/** If {@link Object} class should also be iterated, set to {@literal true} */ protected final boolean includeObject; /** * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement. * * @param clazz the class (must not be {@literal null}) * @return an {@link Iterable} wrapping a {@link ClassIterator} */ public static Iterable<Class<?>> iterable(final Class<?> clazz) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
statement_test.go
"testing" "gorm.io/gorm/clause" ) func TestWhereCloneCorruption(t *testing.T) { for whereCount := 1; whereCount <= 8; whereCount++ { t.Run(fmt.Sprintf("w=%d", whereCount), func(t *testing.T) { s := new(Statement) for w := 0; w < whereCount; w++ { s = s.clone() s.AddClause(clause.Where{ Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)), }) } s1 := s.clone() s1.AddClause(clause.Where{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Dec 23 13:19:41 UTC 2023 - 1.9K bytes - Viewed (0) -
docs/multi-user/README.md
Create new canned policy file `getonly.json`. This policy enables users to download all objects under `my-bucketname`. ```json cat > getonly.json << EOF { "Version": "2012-10-17", "Statement": [ { "Action": [ "s3:GetObject" ], "Effect": "Allow", "Resource": [ "arn:aws:s3:::my-bucketname/*" ], "Sid": "" } ] } EOF ```
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.2K bytes - Viewed (0)