Documentation
¶
Overview ¶
Package pg implements the PostgreSQL database driver.
Index ¶
- type Driver
- func (d *Driver) DescribeTable(ctx context.Context, conn *sql.DB, opts db.TableDescribeOptions) (*db.Table, *errors.XError)
- func (d *Driver) ListTables(ctx context.Context, conn *sql.DB, opts db.SchemaOptions) (*db.TableList, *errors.XError)
- func (d *Driver) Open(ctx context.Context, opts db.ConnOptions) (*sql.DB, *errors.XError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct{}
func (*Driver) DescribeTable ¶ added in v1.0.0
func (d *Driver) DescribeTable(ctx context.Context, conn *sql.DB, opts db.TableDescribeOptions) (*db.Table, *errors.XError)
DescribeTable returns the schema details for a single PostgreSQL table.
Click to show internal directories.
Click to hide internal directories.