postgres

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hstore

type Hstore map[string]*string

func (*Hstore) Scan

func (h *Hstore) Scan(value interface{}) error

Scan scan value into Hstore

func (Hstore) Value

func (h Hstore) Value() (driver.Value, error)

Value get value of Hstore

type Jsonb

type Jsonb struct {
	json.RawMessage
}

Jsonb Postgresql's JSONB data type

func (*Jsonb) Scan

func (j *Jsonb) Scan(value interface{}) error

Scan scan value into Jsonb

func (Jsonb) Value

func (j Jsonb) Value() (driver.Value, error)

Value get value of Jsonb

Jump to

Keyboard shortcuts

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