goext/sq/queryable.go
Mike Schwörer f9ccafb976
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m30s
v0.0.351 sq value converter
2023-12-29 19:25:36 +01:00

14 lines
279 B
Go

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)
ListConverter() []DBTypeConverter
}