Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 741 for UPDATE (0.16 seconds)

  1. tests/update_belongs_to_test.go

    	user := *GetUser("update-belongs-to", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Company = Company{Name: "company-belongs-to-association"}
    	user.Manager = &User{Name: "manager-belongs-to-association"}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jul 14 06:55:54 GMT 2022
    - 1.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Using Pydantic's `update` parameter { #using-pydantics-update-parameter }
    
    Now, you can create a copy of the existing model using `.model_copy()`, and pass the `update` parameter with a `dict` containing the data to update.
    
    Like `stored_item_model.model_copy(update=update_data)`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        private void writeLastUpdated(File touchfile, String key, String error) {
            HashMap<String, String> update = new HashMap<>();
            update.put(key, Long.toString(System.currentTimeMillis()));
            update.put(key + ERROR_KEY_SUFFIX, error); // error==null => remove mapping
            trackingFileManager.update(touchfile, update);
        }
    
        Date readLastUpdated(File touchfile, String key) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. ci/official/requirements_updater/README.md

    `requirements_lock_3_12.txt` for `Python 3.12`).
    
    To update the lock files, make sure
    `ci/official/requirements_updater/requirements.in` contains the desired direct
    dependencies list and then execute the following command (which will call
    [pip-compile](https://pypi.org/project/pip-tools/) under the hood):
    
    ```
    bazel run //ci/official/requirements_updater:requirements.update --repo_env=HERMETIC_PYTHON_VERSION=3.12
    ```
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Jun 29 00:19:18 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. tests/named_argument_test.go

    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result4, namedUser)
    
    	if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	namedUser.Name1 = "jinzhu-new"
    	namedUser.Name2 = "jinzhu-new2"
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  6. lib/hg/goreposum.py

      peer = hg.peer(ui, {}, url)
      for name, revs in peer.branchmap().items():
        h.update(name)
        for r in revs:
          h.update(b' ')
          h.update(r)
        h.update(b'\n')
      if (b'bookmarks' in peer.listkeys(b'namespaces')):
        for name, rev in peer.listkeys(b'bookmarks').items():
          h.update(name)
          h.update(b'=')
          h.update(rev)
          h.update(b'\n')
      print('r1:'+base64.standard_b64encode(h.digest()).decode('utf-8'))
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/hash/MacHashFunction.java

        }
    
        @Override
        protected void update(byte b) {
          checkNotDone();
          mac.update(b);
        }
    
        @Override
        protected void update(byte[] b) {
          checkNotDone();
          mac.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          mac.update(b, off, len);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. .teamcity/scripts/update_wrapper_and_create_pr.sh

            exit 0
        fi
        
        BRANCH_NAME="devprod/update-wrapper-$(date +%Y%m%d-%H%M%S)"
        git switch -c $BRANCH_NAME
        git commit --signoff --author="bot-gradle <******@****.***>" -m "Update Gradle wrapper to version $WRAPPER_VERSION"
        git push https://${GITHUB_TOKEN}@github.com/gradle/gradle.git $BRANCH_NAME
        
        PR_TITLE="Update Gradle wrapper to version $WRAPPER_VERSION"
    
        PR_RESPONSE=$(post "/pulls" "{
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. clause/set_test.go

    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    			[]interface{}{1},
    		},
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    				clause.Set([]clause.Assignment{{clause.Column{Name: "name"}, "jinzhu"}}),
    			},
    			"UPDATE `users` SET `name`=?",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 11:18:54 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. tests/non_std_test.go

    	DB.Save(&animal)
    	updatedAt1 := animal.UpdatedAt
    
    	DB.Save(&animal).Update("name", "Francis")
    	if updatedAt1.Format(time.RFC3339Nano) == animal.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top