advsql/delete.go

6 lines
174 B
Go
Raw Permalink Normal View History

2022-09-06 10:42:09 +02:00
package advsql
func Delete[T any](db *Database, query string, encoder func(v *T, decode ScanFunc) error) DeleteFunc[T] {
return DeleteFunc[T](Insert(db, query, encoder))
}