Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 172 for stmt (0.12 sec)

  1. tests/update_test.go

    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    	stmt := dryDB.Save(&user).Statement
    	if !regexp.MustCompile(`.users.\..deleted_at. IS NULL`).MatchString(stmt.SQL.String()) {
    		t.Fatalf("invalid updating SQL, got %v", stmt.SQL.String())
    	}
    
    	dryDB = DB.Session(&gorm.Session{DryRun: true})
    	stmt = dryDB.Unscoped().Save(&user).Statement
    	if !regexp.MustCompile(`WHERE .id. = [^ ]+$`).MatchString(stmt.SQL.String()) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  2. tests/query_test.go

    		t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String())
    	}
    
    	stmt := dryDB.Clauses(clause.OrderBy{
    		Expression: clause.Expr{SQL: "FIELD(id,?)", Vars: []interface{}{[]int{1, 2, 3}}, WithoutParentheses: true},
    	}).Find(&User{}).Statement
    
    	explainedSQL := dryDB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    	case *ast.ChanType:
    		f.walk(&n.Value, ctxType, visit)
    
    	case *ast.BadStmt:
    	case *ast.DeclStmt:
    		f.walk(n.Decl, ctxDecl, visit)
    	case *ast.EmptyStmt:
    	case *ast.LabeledStmt:
    		f.walk(n.Stmt, ctxStmt, visit)
    	case *ast.ExprStmt:
    		f.walk(&n.X, ctxExpr, visit)
    	case *ast.SendStmt:
    		f.walk(&n.Chan, ctxExpr, visit)
    		f.walk(&n.Value, ctxExpr, visit)
    	case *ast.IncDecStmt:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. tests/associations_test.go

    	return "empty"
    }
    
    func (sd emptyQueryClause) Build(clause.Builder) {
    }
    
    func (sd emptyQueryClause) MergeClause(*clause.Clause) {
    }
    
    func (sd emptyQueryClause) ModifyStatement(stmt *gorm.Statement) {
    	// do nothing
    }
    
    func TestAssociationEmptyQueryClause(t *testing.T) {
    	type Organization struct {
    		gorm.Model
    		Name string
    	}
    	type Region struct {
    		gorm.Model
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. api/go1.9.txt

    pkg database/sql, method (*Conn) PingContext(context.Context) error
    pkg database/sql, method (*Conn) PrepareContext(context.Context, string) (*Stmt, error)
    pkg database/sql, method (*Conn) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
    pkg database/sql, method (*Conn) QueryRowContext(context.Context, string, ...interface{}) *Row
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg database/sql/driver, type RowsAffected int64
    pkg database/sql/driver, type Stmt interface { Close, Exec, NumInput, Query }
    pkg database/sql/driver, type Stmt interface, Close() error
    pkg database/sql/driver, type Stmt interface, Exec([]Value) (Result, error)
    pkg database/sql/driver, type Stmt interface, NumInput() int
    pkg database/sql/driver, type Stmt interface, Query([]Value) (Rows, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. docs/site-replication/run-ssec-object-replication.sh

    	echo "BUG: object test-bucket/custpartsize not replicated"
    	exit_1
    fi
    
    # Stat the SSEC objects from source site
    echo "Stat minio1/test-bucket/encrypted"
    ./mc stat --no-list minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json
    stat_out1=$(./mc stat --no-list minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. internal/disk/stat_test.go

    package disk
    
    import (
    	"os"
    	"reflect"
    	"testing"
    )
    
    func TestReadDriveStats(t *testing.T) {
    	testCases := []struct {
    		stat            string
    		expectedIOStats IOStats
    		expectErr       bool
    	}{
    		{
    			stat: "1432553   420084 66247626  2398227  7077314  8720147 157049224  7469810        0  7580552  9869354    46037        0 41695120     1315        0        0",
    			expectedIOStats: IOStats{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-ldap.sh

    ./mc mb minio1/bucket2
    
    sleep 5
    ./mc stat --no-list minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc stat --no-list minio3/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc cp README.md minio2/newbucket/
    
    sleep 5
    ./mc stat --no-list minio1/newbucket/README.md
    if [ $? -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-oidc.sh

    ./mc cp ./lrgfile minio1/newbucket
    sleep 5
    ./mc stat --no-list minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc stat --no-list minio3/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc cp README.md minio2/newbucket/
    
    sleep 5
    ./mc stat --no-list minio1/newbucket/README.md
    if [ $? -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top