package postgres

import "github.com/jinzhu/gorm/dialects/postgres"

Index

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

Source Files

postgres.go

Version
v1.9.16 (latest)
Published
Aug 13, 2020
Platform
linux/amd64
Imports
7 packages
Last checked
3 days ago

Tools for package owners.