Documentation
¶
Index ¶
- type Hstore
- func (h Hstore) Data() map[string]sql.NullString
- func (h Hstore) Get(key string) (string, bool)
- func (h Hstore) GetBool(key string) bool
- func (h Hstore) MarshalJSON() ([]byte, error)
- func (h *Hstore) Scan(value interface{}) error
- func (h *Hstore) Set(key, value string)
- func (h Hstore) String() string
- func (h *Hstore) UnmarshalJSON(b []byte) error
- func (h *Hstore) Unset(key string)
- func (h Hstore) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hstore ¶
Hstore implementation
func (*Hstore) Scan ¶
Scan implements the Scanner interface.
Note h.Map is reallocated before the scan to clear existing values. If the hstore column's database value is NULL, then h.Map is set to nil instead.
func (*Hstore) UnmarshalJSON ¶ added in v0.1.1
UnmarshalJSON implements the json.Unmarshaller
Click to show internal directories.
Click to hide internal directories.