Documentation
¶
Index ¶
- func ClearVTOrcDatabase()
- func ExecVTOrc(query string, args ...any) (sql.Result, error)
- func OpenVTOrc() (db *sql.DB, err error)
- func QueryVTOrc(query string, argsArray []any, onRow func(sqlutils.RowMap) error) error
- func QueryVTOrcRowsMap(query string, onRow func(sqlutils.RowMap) error) error
- type DB
- type DummySQLResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearVTOrcDatabase ¶ added in v0.16.0
func ClearVTOrcDatabase()
ClearVTOrcDatabase is used to clear the VTOrc database. This function is meant to be used by tests to clear the database to get a clean slate without starting a new one.
func QueryVTOrc ¶
QueryVTOrc
Types ¶
type DB ¶
type DummySQLResult ¶
type DummySQLResult struct { }
func (DummySQLResult) LastInsertId ¶
func (dummyRes DummySQLResult) LastInsertId() (int64, error)
func (DummySQLResult) RowsAffected ¶
func (dummyRes DummySQLResult) RowsAffected() (int64, error)
Click to show internal directories.
Click to hide internal directories.