2022-07-05 12:38:39 +02:00
|
|
|
package advsql
|
|
|
|
|
2022-07-11 13:00:36 +02:00
|
|
|
func Update[T any](db *Database, query string, encoder func(v *T, encode EncodeFunc) error) UpdateFunc[T] {
|
|
|
|
return UpdateFunc[T](Insert(db, query, encoder))
|
2022-07-05 12:38:39 +02:00
|
|
|
}
|