advsql/update.go
2022-07-05 12:44:25 +02:00

6 lines
151 B
Go

package advsql
func Update[T any](db *Database, query string, exec func(v *T, exec ExecFunc) error) InsertFunc[T] {
return Insert(db, query, exec)
}