Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,903 for Recreate (0.11 sec)

  1. tests/update_has_one_test.go

    	}
    
    	t.Run("Polymorphic", func(t *testing.T) {
    		pet := Pet{Name: "create"}
    
    		if err := DB.Create(&pet).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		pet.Toy = Toy{Name: "Update-HasOneAssociation-Polymorphic"}
    
    		if err := DB.Save(&pet).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		var pet2 Pet
    		DB.Preload("Toy").Find(&pet2, "id = ?", pet.ID)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

      public static class ImmutableListOfGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          return ImmutableList.copyOf(elements);
        }
      }
    
      public static class BuilderAddListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          ImmutableList.Builder<String> builder = ImmutableList.<String>builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tests/associations_many2many_test.go

    	if err := DB.Omit("Languages.*").Create(&user).Error; err == nil {
    		t.Fatalf("should raise error when create users without languages reference")
    	}
    
    	if err := DB.Create(&user.Languages).Error; err != nil {
    		t.Fatalf("no error should happen when create languages, but got %v", err)
    	}
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    ## Install `SQLModel`
    
    First, make sure you create your [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install `sqlmodel`:
    
    <div class="termy">
    
    ```console
    $ pip install sqlmodel
    ---> 100%
    ```
    
    </div>
    
    ## Create the App with a Single Model
    
    We'll create the simplest first version of the app with a single **SQLModel** model first.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClusterException.java

        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
      /** See {@link #create(Collection)}. */
      static RuntimeException create(Throwable... exceptions) {
        ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions));
        return create(temp);
      }
    
      /**
       * Given a collection of exceptions, returns a {@link RuntimeException}, with the following rules:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload_test.go

    			description: "valid case - create full workload group",
    			args: strings.Split("group create --name foo --namespace bar --labels app=foo,bar=baz "+
    				" --annotations annotation=foobar --ports grpc=3550,http=8080 --serviceAccount test", " "),
    			expectedException: false,
    			expectedOutput:    customYAML,
    		},
    		{
    			description: "valid case - create full workload group with shortnames",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	// HTTP request to create the bucket.
    	request, err := newTestSignedRequest(http.MethodPut, getMakeBucketURL(s.endPoint, bucketName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the HTTP request to create bucket.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, 200)
    
    	// Create a byte array of 5MB.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public static final fun create (Lokhttp3/MediaType;[B)Lokhttp3/RequestBody;
    	public static final fun create (Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody;
    	public static final fun create (Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
    	public static final fun create (Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. tests/delete_test.go

    	users := []User{*GetUser("delete", Config{}), *GetUser("delete", Config{}), *GetUser("delete", Config{})}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Errorf("errors happened when create: %v", err)
    	}
    
    	for _, user := range users {
    		if user.ID == 0 {
    			t.Fatalf("user's primary key should has value after create, got : %v", user.ID)
    		}
    	}
    
    	if res := DB.Delete(&users[1]); res.Error != nil || res.RowsAffected != 1 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/JAASAuthenticator.java

        private Configuration configuration;
    
    
        /**
         * Create an authenticator using the JAAS service <tt>jcifs</tt>
         * 
         * This will require that a keytab is configured in this service.
         * 
         * 
         */
        public JAASAuthenticator () {
            this("jcifs");
        }
    
    
        /**
         * Create an authenticator using the given JAAS service
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
Back to top