Documentation
¶
Index ¶
- type Client
- func (c *Client) DescribeTable(ctx context.Context, table string) ([]Column, error)
- func (c *Client) MaterializedViews(ctx context.Context) ([]View, error)
- func (c *Client) Schemas(ctx context.Context) ([]Schema, error)
- func (c *Client) SchemasUserCreated(ctx context.Context) ([]Schema, error)
- func (c *Client) Tables(ctx context.Context) ([]PGTable, error)
- func (c *Client) TablesBySize(ctx context.Context) ([]PGTable, error)
- func (c *Client) TablesBySizeWithIndex(ctx context.Context) ([]PGTable, error)
- func (c *Client) Views(ctx context.Context) ([]View, error)
- type Column
- type PGTable
- type Schema
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DescribeTable ¶
func (*Client) MaterializedViews ¶
func (*Client) SchemasUserCreated ¶
func (*Client) TablesBySizeWithIndex ¶
type View ¶
type View struct {
Name string `db:"view_name"`
Definition string `db:"definition"`
IsPopulated bool `db:"ispopulated"`
Owner string `db:"owner"`
ViewSchema string `db:"schema_name"`
ReferencedTableSchema string `db:"referenced_table_schema"`
ReferencedTableName string `db:"referenced_table_name"`
}
Click to show internal directories.
Click to hide internal directories.