Documentation
¶
Index ¶
- func DoMigrations(log *slog.Logger, pool *sqlitex.Pool, migrations []string) error
- func GetGitDir(repo *git.Repository) string
- func GetIntPragma(pool *sqlitex.Pool, ctx context.Context, pragma string) (int64, error)
- func GetLogger() *slog.Logger
- func GetStringPragma(pool *sqlitex.Pool, ctx context.Context, pragma string) (string, error)
- func RawExec(pool *sqlitex.Pool, ctx context.Context, query string) error
- func SetIntPragma(pool *sqlitex.Pool, ctx context.Context, pragma string, value int64) error
- func SetStringPragma(pool *sqlitex.Pool, ctx context.Context, pragma string, value string) error
- func TriggerPragma(pool *sqlitex.Pool, ctx context.Context, pragma string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoMigrations ¶
func GetGitDir ¶
func GetGitDir(repo *git.Repository) string
func GetIntPragma ¶
func GetStringPragma ¶
func SetIntPragma ¶
func SetStringPragma ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.