Documentation
¶
Index ¶
- type Database
- func (d *Database) Begin() (*sql.Tx, error)
- func (d *Database) Checkpoint() error
- func (d *Database) Cleanup()
- func (d *Database) Close() error
- func (d *Database) CreateDefaultTables() error
- func (d *Database) Exec(query string, args ...interface{}) (sql.Result, error)
- func (d *Database) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (d *Database) QueryRow(query string, args ...interface{}) *sql.Row
- func (d *Database) Run(ctx context.Context)
- func (d *Database) Vacuum() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) Checkpoint ¶
func (*Database) CreateDefaultTables ¶
Click to show internal directories.
Click to hide internal directories.