Documentation
¶
Index ¶
- type DB
- func (d *DB) Close()
- func (d *DB) InsertRow(ctx context.Context, schema, table string, data map[string]string) error
- func (d *DB) ReadOnly() bool
- func (d *DB) RunQuery(ctx context.Context, sql string) (*QueryResult, error)
- func (d *DB) Schemas(ctx context.Context) ([]string, error)
- func (d *DB) TableCount(ctx context.Context, schema, table, filterCol, filterVal string) (int64, error)
- func (d *DB) TableData(ctx context.Context, schema, table string, page, pageSize int, ...) (*QueryResult, error)
- func (d *DB) Tables(ctx context.Context, schema string) ([]TableInfo, error)
- type QueryResult
- type TableInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) TableCount ¶
type QueryResult ¶
Click to show internal directories.
Click to hide internal directories.