Documentation ¶
Index ¶
- Constants
- func InitDB(databaseUri string)
- func IsInitialized() bool
- func MigrateFromPostgresToRqlite() error
- func MustGetDBSession() *gorqlite.Connection
- func SetDB(database *gorqlite.Connection)
- func UpdateDBSchema(driver string, uri string, schemaDir string) error
- type NullStringTime
- type StringTime
Constants ¶
View Source
const ( RQLITE_MIGRATION_SUCCESS_KEY = "rqlite.migration.success" RQLITE_MIGRATION_SUCCESS_VALUE = "true" )
Variables ¶
This section is empty.
Functions ¶
func IsInitialized ¶ added in v1.105.0
func IsInitialized() bool
func MigrateFromPostgresToRqlite ¶ added in v1.89.0
func MigrateFromPostgresToRqlite() error
func MustGetDBSession ¶
func MustGetDBSession() *gorqlite.Connection
func SetDB ¶
func SetDB(database *gorqlite.Connection)
Types ¶
type NullStringTime ¶
func (*NullStringTime) Scan ¶
func (s *NullStringTime) Scan(value interface{}) error
Scan implements the Scanner interface.
type StringTime ¶
func (*StringTime) Scan ¶
func (s *StringTime) Scan(value interface{}) error
Scan implements the Scanner interface.
Click to show internal directories.
Click to hide internal directories.