advsql/update.go

6 lines
151 B
Go
Raw Normal View History

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