postgres

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2020 License: MIT Imports: 4 Imported by: 2

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
}

Options are the postgres datastore options, reexported here for convenience.

func (*Options) Create

func (opts *Options) Create() (*sqlds.Datastore, error)

Create returns a datastore connected to postgres

type Queries

type Queries struct {
}

func (Queries) Delete

func (Queries) Delete() string

func (Queries) Exists

func (Queries) Exists() string

func (Queries) Get

func (Queries) Get() string

func (Queries) GetSize

func (Queries) GetSize() string

func (Queries) Limit

func (Queries) Limit() string

func (Queries) Offset

func (Queries) Offset() string

func (Queries) Prefix

func (Queries) Prefix() string

func (Queries) Put

func (Queries) Put() string

func (Queries) Query

func (Queries) Query() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL