MCPcopy Create free account
hub / github.com/upper/db / JSONArray

TypeAlias JSONArray

adapter/mysql/custom_types.go:111–111  ·  view source on GitHub ↗

JSONArray represents an array of any type (`[]interface{}`) that is compatible with MySQL's JSON type. JSONArray satisfies sqlbuilder.ScannerValuer.

Source from the content-addressed store, hash-verified

109// compatible with MySQL's JSON type. JSONArray satisfies
110// sqlbuilder.ScannerValuer.
111type JSONArray []interface{}
112
113// Value satisfies the driver.Valuer interface.
114func (a JSONArray) Value() (driver.Value, error) {

Callers 1

TestMySQLTypesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected