Documentation
¶
Index ¶
- func AddCheck(pool db.Pool, table string, expr string) error
- func AddNotNull(pool db.Pool, table string, column string) error
- func Backup(pool db.Pool, destPath string) error
- func BatchExec(pool db.Pool, query string, rows [][]any) (int64, error)
- func CreateFunction(pool db.Pool, name string, nArgs int, fn func([]string) string) error
- func DropCheck(pool db.Pool, table string, constraintName string) error
- func DropNotNull(pool db.Pool, table string, column string) error
- func Dump(pool db.Pool) (string, error)
- func IntegrityCheck(pool db.Pool) error
- func Open(path string) (db.Pool, error)
- func OpenMemory() (db.Pool, error)
- func OpenWith(path string, pragmas map[string]string) (db.Pool, error)
- func Pragma(pool db.Pool, name string) (string, error)
- func ReindexExpressions(pool db.Pool) error
- func SetPragma(pool db.Pool, name string, value string) error
- func TableExists(pool db.Pool, name string) (bool, error)
- func Tables(pool db.Pool) ([]string, error)
- func Vacuum(pool db.Pool) error
- func Version(pool db.Pool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFunction ¶
func DropNotNull ¶ added in v0.1.7
func IntegrityCheck ¶
func OpenMemory ¶
func ReindexExpressions ¶ added in v0.1.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.