Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Statements (0.04 sec)

  1. WORKSPACE

    )
    
    # Initialize the TensorFlow repository and all dependencies.
    #
    # The cascade of load() statements and tf_workspace?() calls works around the
    # restriction that load() statements need to be at the top of .bzl files.
    # E.g. we can not retrieve a new repository with http_archive and then load()
    # a macro from that repository in the same file.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Sep 03 23:57:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. statement.go

    			if cv.Statement.SQL.Len() > 0 {
    				var (
    					vars = subdb.Statement.Vars
    					sql  = cv.Statement.SQL.String()
    				)
    
    				subdb.Statement.Vars = make([]interface{}, 0, len(vars))
    				for _, vv := range vars {
    					subdb.Statement.Vars = append(subdb.Statement.Vars, vv)
    					bindvar := strings.Builder{}
    					cv.BindVarTo(&bindvar, subdb.Statement, vv)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. generics.go

    	subdb.DryRun = true
    
    	if stmt, ok := builder.(*Statement); ok {
    		if subdb.Statement.SQL.Len() > 0 {
    			var (
    				vars = subdb.Statement.Vars
    				sql  = subdb.Statement.SQL.String()
    			)
    
    			subdb.Statement.Vars = make([]interface{}, 0, len(vars))
    			for _, vv := range vars {
    				subdb.Statement.Vars = append(subdb.Statement.Vars, vv)
    				bindvar := strings.Builder{}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	err := gorm.G[User](DB).CreateInBatches(ctx, &users, len(users))
    	if err != nil {
    		t.Fatalf("CreateInBatches failed: %v", err)
    	}
    
    	filterName1 := func(stmt *gorm.Statement) {
    		stmt.Where("name = ?", "GenericsScopes1")
    	}
    
    	results, err := gorm.G[User](DB).Scopes(filterName1).Find(ctx)
    	if err != nil {
    		t.Fatalf("Scopes failed: %v", err)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top