6 lines
174 B
Go
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))
|
|
}
|