Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SqliteHandler ¶
SqliteHandler exposes the sqlite3 connection
func NewSqliteHandler ¶
func NewSqliteHandler(dbFileName string) *SqliteHandler
NewSqliteHandler creates a new SqliteHandler
func (*SqliteHandler) Execute ¶
func (handler *SqliteHandler) Execute(statement string) (r sql.Result, e error)
Execute performs the sql statement in a transaction
func (*SqliteHandler) Query ¶
func (handler *SqliteHandler) Query(statement string) interfaces.Row
Query performs the given statement on the DB
Click to show internal directories.
Click to hide internal directories.