Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) Close() error
- func (a *Adapter) Columns(ctx context.Context, tableName string) ([]string, error)
- func (a *Adapter) Query(ctx context.Context, query string) (db.QueryResult, error)
- func (a *Adapter) QuoteIdentifier(name string) string
- func (a *Adapter) Schema(ctx context.Context) (string, error)
- func (a *Adapter) Tables(ctx context.Context) ([]string, error)
- func (a *Adapter) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func Open ¶
Open connects to a PostgreSQL database using the given DSN. Accepts postgres:// or postgresql:// URL format.
func (*Adapter) QuoteIdentifier ¶ added in v0.5.1
Click to show internal directories.
Click to hide internal directories.