Movatterモバイル変換


[0]ホーム

URL:


hstore

package
v1.10.9Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License:MITImports:3Imported by:283

Details

Repository

github.com/lib/pq

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeHstore

type Hstore struct {Map map[string]sql.NullString}

Hstore is a wrapper for transferring Hstore values back and forth easily.

func (*Hstore)Scan

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

Scan implements the Scanner interface.

Note h.Map is reallocated before the scan to clear existing values. If thehstore column's database value is NULL, then h.Map is set to nil instead.

func (Hstore)Value

func (hHstore) Value() (driver.Value,error)

Value implements the driver Valuer interface. Note if h.Map is nil, thedatabase column value will be set to NULL.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp