Documentation
¶
Overview ¶
SQLite integration.
Index ¶
- Constants
- func GetDB() *gorm.DB
- func NewConn(path string, wal bool) (*gorm.DB, error)
- func NotTableHasColumn(table string, column string, d *gorm.DB) (ok bool, err error)
- func NotTableHasColumnFunc(table string, column string) func(*gorm.DB) (ok bool, err error)
- func TableHasColumn(table string, column string, d *gorm.DB) (ok bool, err error)
- func TableHasColumnFunc(table string, column string) func(*gorm.DB) (ok bool, err error)
- func UpdateLoggerConfig(config logger.Config)
Constants ¶
View Source
const ( // misoconfig-prop: path to SQLite database file PropSqliteFile = "sqlite.file" // misoconfig-prop: enable WAL mode | true PropSqliteWalEnabled = "sqlite.wal.enabled" // misoconfig-prop: log sql statements | false PropSqliteLogSQL = "sqlite.log-sql" )
misoconfig-section: SQLite Configuration
Variables ¶
This section is empty.
Functions ¶
func NotTableHasColumn ¶ added in v0.1.19
func NotTableHasColumnFunc ¶ added in v0.1.19
func TableHasColumn ¶ added in v0.1.17
func TableHasColumnFunc ¶ added in v0.1.17
func UpdateLoggerConfig ¶ added in v0.4.13
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.