feat(webui): implement states list
This commit is contained in:
parent
7885b19b54
commit
09885ef1e4
10 changed files with 117 additions and 12 deletions
|
@ -111,6 +111,10 @@ func (db *DB) Exec(query string, args ...any) (sql.Result, error) {
|
|||
return db.writeDB.ExecContext(db.ctx, query, args...)
|
||||
}
|
||||
|
||||
func (db *DB) Query(query string, args ...any) (*sql.Rows, error) {
|
||||
return db.readDB.QueryContext(db.ctx, query, args...)
|
||||
}
|
||||
|
||||
func (db *DB) QueryRow(query string, args ...any) *sql.Row {
|
||||
return db.readDB.QueryRowContext(db.ctx, query, args...)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue