- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 6,702 for If (0.07 seconds)
-
clause/where.go
func (where Where) Build(builder Builder) { if len(where.Exprs) == 1 { if andCondition, ok := where.Exprs[0].(AndConditions); ok { where.Exprs = andCondition.Exprs } } // Switch position if the first query expression is a single Or condition for idx, expr := range where.Exprs { if v, ok := expr.(OrConditions); !ok || len(v.Exprs) > 1 { if idx != 0 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 5.1K bytes - Click Count (0) -
internal/event/target/postgresql.go
} // Validate PostgreSQLArgs fields func (p PostgreSQLArgs) Validate() error { if !p.Enable { return nil } if p.Table == "" { return fmt.Errorf("empty table name") } if err := validatePsqlTableName(p.Table); err != nil { return err } if p.Format != "" { f := strings.ToLower(p.Format) if f != event.NamespaceFormat && f != event.AccessFormat {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
tests/generics_test.go
err := gorm.G[User](DB).Create(ctx, &user) if err != nil { t.Fatalf("Create failed: %v", err) } if user.ID == 0 { t.Fatalf("no primary key found for %v", user) } if u, err := gorm.G[User](DB).Where("name = ?", user.Name).First(ctx); err != nil { t.Fatalf("failed to find user, got error: %v", err) } else if u.Name != user.Name || u.ID != user.ID {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
cmd/admin-handlers.go
hip.objPrefix = vars[mgmtPrefix] if hip.bucket == "" { if hip.objPrefix != "" { // Bucket is required if object-prefix is given err = ErrHealMissingBucket return hip, err } } else if isReservedOrInvalidBucket(hip.bucket, false) { err = ErrInvalidBucketName return hip, err } // empty prefix is valid. if !IsValidObjectPrefix(hip.objPrefix) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
helm-releases/minio-4.0.15.tgz
exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET ; then if [ ! -z $OBJECTLOCKING ] ; then if [ $OBJECTLOCKING = true ] ; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ] ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 21 11:07:01 GMT 2022 - 20K bytes - Click Count (0) -
cmd/bucket-object-lock.go
config, _, err := globalBucketMetadataSys.GetObjectLockConfig(bucketName) if err != nil { if errors.Is(err, BucketObjectLockConfigNotFound{Bucket: bucketName}) { return r, nil } if errors.Is(err, errInvalidArgument) { return r, err } return r, err } return config.ToRetention(), nil } // enforceRetentionForDeletion checks if it is appropriate to remove an
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:25 GMT 2025 - 13.3K bytes - Click Count (0) -
helm-releases/minio-3.5.2.tgz
Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 08 00:29:26 GMT 2022 - 15.4K bytes - Click Count (0) -
callbacks.go
} } else if idx := getRIndex(names, c.before); idx != -1 { // if before callback exists cs[idx].after = c.name } } if c.after != "" { // if defined after callback if c.after == "*" && len(sorted) > 0 { if curIdx := getRIndex(sorted, c.name); curIdx == -1 { sorted = append(sorted, c.name) } } else if sortedIdx := getRIndex(sorted, c.after); sortedIdx != -1 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:26:07 GMT 2026 - 8.8K bytes - Click Count (0) -
helm-releases/minio-4.0.13.tgz
exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET ; then if [ ! -z $OBJECTLOCKING ] ; then if [ $OBJECTLOCKING = true ] ; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ] ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 23 18:18:14 GMT 2022 - 19.5K bytes - Click Count (0) -
helm-releases/minio-5.0.8.tgz
exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET ; then if [ ! -z $OBJECTLOCKING ] ; then if [ $OBJECTLOCKING = true ] ; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ] ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 13 21:49:51 GMT 2023 - 20.3K bytes - Click Count (0)