Documentation ¶
Index ¶
- Variables
- type Sqlite
- func (db *Sqlite) Exec(query string, args ...interface{}) sql.Result
- func (db *Sqlite) ExecWithConnection(con string, query string, args ...interface{}) sql.Result
- func (db *Sqlite) GetName() string
- func (db *Sqlite) InitDB(cfgList map[string]config.Database)
- func (db *Sqlite) Query(query string, args ...interface{}) ([]map[string]interface{}, *sql.Rows)
- func (db *Sqlite) QueryWithConnection(con string, query string, args ...interface{}) ([]map[string]interface{}, *sql.Rows)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB = Sqlite{ DbList: map[string]*sql.DB{}, }
Functions ¶
This section is empty.
Types ¶
type Sqlite ¶
func GetSqliteDB ¶
func GetSqliteDB() *Sqlite
func (*Sqlite) ExecWithConnection ¶
Click to show internal directories.
Click to hide internal directories.