Update updates the model.
(scan ...interface{})
| 1120 | |
| 1121 | // Update updates the model. |
| 1122 | func (q *Query) Update(scan ...interface{}) (Result, error) { |
| 1123 | return q.update(scan, false) |
| 1124 | } |
| 1125 | |
| 1126 | // Update updates the model omitting fields with zero values such as: |
| 1127 | // - empty string, |