Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DBAccess orm.Ormer
DBAccess is Ormer object interface for all transaction processing and switching database
Functions ¶
func InitDBManager ¶
func InitDBManager()
InitDBManager initialises the database by syncing the database schema and creating orm
func IsNonUniqueNameError ¶
IsNonUniqueNameError tests if the error returned by sqlite is unique. It will check various sqlite versions.
func RegisterModel ¶
func RegisterModel(moduleName string, m interface{})
RegisterModel registers the defined model in the orm if model is enabled
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.