advsql/update.go
Timon Ringwald a39f467b93 QueryOne implemented
Query renamed to QueryMany
Default Decoders refactored
2022-07-11 13:00:36 +02:00

6 lines
176 B
Go

package advsql
func Update[T any](db *Database, query string, encoder func(v *T, encode EncodeFunc) error) UpdateFunc[T] {
return UpdateFunc[T](Insert(db, query, encoder))
}