Documentation
¶
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 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)
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-section: SQLite Configuration
Variables ¶
This section is empty.
Functions ¶
func NotTableHasColumn ¶ added in v0.1.19
func TableHasColumn ¶ added in v0.1.17
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.