advsql/update.go

6 lines
161 B
Go

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