Documentation
¶
Index ¶
- Constants
- type DB
- func (d *DB) DeleteTable(name string) error
- func (d *DB) EnsureSchema() error
- func (d *DB) EnsureTable(name string, tableSchema string) error
- func (d *DB) GetRows(ctx context.Context, table string) error
- func (d *DB) LoadIn(ctx context.Context, r io.Reader, copyCmd string) (int64, error)
- func (d *DB) Schema() string
Constants ¶
View Source
const ( Numeric = "NUMERIC" Text = "TEXT" Json = "JSON" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func NewPostgresDB ¶
func (*DB) DeleteTable ¶
func (*DB) EnsureSchema ¶
Click to show internal directories.
Click to hide internal directories.