advsql/update.go

6 lines
161 B
Go
Raw Normal View History

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