Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Host string Port string User string Password string Database string Table string }
Options are the postgres datastore options, reexported here for convenience.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
Queries are the postgres queries for a given table.
func NewQueries ¶ added in v0.2.0
NewQueries creates a new PostgreSQL set of queries for the passed table
func (Queries) Offset ¶
Offset returns the postgres query fragment for returning rows from a given offset.
func (Queries) Prefix ¶
Prefix returns the postgres query fragment for getting a rows with a key prefix.
Click to show internal directories.
Click to hide internal directories.