Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { BindNamed(query string, arg interface{}) (string, []interface{}, error) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) Rebind(query string) string Close() error Query(query string, args ...any) (*sql.Rows, error) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error }
func NewDatabase ¶
Click to show internal directories.
Click to hide internal directories.