postgres

package
v0.0.0-...-9a3fa0c Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgreSQL

type PostgreSQL struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Resource) (*PostgreSQL, error)

func (*PostgreSQL) Delete

func (d *PostgreSQL) Delete(tableName string, condition map[string]string) (int, error)

func (*PostgreSQL) Insert

func (d *PostgreSQL) Insert(tableName string, rows []map[string]string) error

func (*PostgreSQL) Ready

func (d *PostgreSQL) Ready() error

func (*PostgreSQL) Reset

func (d *PostgreSQL) Reset() error

func (*PostgreSQL) Select

func (d *PostgreSQL) Select(tableName string, condition map[string]string) ([]map[string]string, error)

Jump to

Keyboard shortcuts

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