Documentation ¶
Index ¶
- Variables
- func Delete(query string, args ...interface{}) (int64, error)
- func DumpDatabase(structureOnly bool, dataOnly bool) (string, int)
- func InitDatabase()
- func Insert(query string, args ...interface{}) (int64, error)
- func Migrate(db *gorm.DB)
- func Open()
- func OpenORM()
- func Select(query string, args ...interface{}) (*sql.Rows, error)
- func Update(query string, args ...interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DB is the connection handle DB *sql.DB )
View Source
var Orm *gorm.DB
Orm represents database is the connection handle
Functions ¶
func DumpDatabase ¶
DumpDatabase : Dump de la base de données
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.