Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UpdateColumn (0.07 sec)

  1. finisher_api.go

    func (db *DB) Updates(values interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = values
    	return tx.callbacks.Update().Execute(tx)
    }
    
    func (db *DB) UpdateColumn(column string, value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = map[string]interface{}{column: value}
    	tx.Statement.SkipHooks = true
    	return tx.callbacks.Update().Execute(tx)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top