Documentation
¶
Index ¶
- Constants
- func QuoteIdent(name string) string
- type Options
- type QueryResult
- type Store
- func (s *Store) Close() error
- func (s *Store) DB() *sql.DB
- func (s *Store) EnsureSchemaVersion(ctx context.Context, version int) error
- func (s *Store) Path() string
- func (s *Store) Query(ctx context.Context, query string, args ...any) (QueryResult, error)
- func (s *Store) SchemaVersion(ctx context.Context) (int, error)
- func (s *Store) WithTx(ctx context.Context, fn func(*sql.Tx) error) error
Constants ¶
View Source
const DefaultBusyTimeoutMillis = 5000
Variables ¶
This section is empty.
Functions ¶
func QuoteIdent ¶
Types ¶
type QueryResult ¶
Click to show internal directories.
Click to hide internal directories.