goext/sq/queryable.go

14 lines
279 B
Go
Raw Normal View History

2022-12-07 23:21:36 +01:00
package sq
import (
"context"
"database/sql"
"github.com/jmoiron/sqlx"
)
type Queryable interface {
Exec(ctx context.Context, sql string, prep PP) (sql.Result, error)
Query(ctx context.Context, sql string, prep PP) (*sqlx.Rows, error)
2023-12-29 19:25:36 +01:00
ListConverter() []DBTypeConverter
2022-12-07 23:21:36 +01:00
}