advsql/delete.go
Timon Ringwald f7bae81df7 added Delete
2022-09-06 10:42:09 +02:00

6 lines
174 B
Go

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))
}