Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hstore ¶
type Hstore struct {
Map map[string]sql.NullString
}
A wrapper for transferring Hstore values back and forth easily.
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.
Click to show internal directories.
Click to hide internal directories.