Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrScanOnNil = errors.New("cq: scan value is null")
)
Functions ¶
This section is empty.
Types ¶
type ArrayCypherValue ¶
type ArrayCypherValue struct {
Val []CypherValue
}
func (*ArrayCypherValue) Scan ¶
func (acv *ArrayCypherValue) Scan(value interface{}) error
type ArrayFloat64 ¶
type ArrayFloat64 struct {
Val []float64
}
func (*ArrayFloat64) Scan ¶
func (af *ArrayFloat64) Scan(value interface{}) error
type ArrayInt64 ¶
type ArrayInt64 struct {
Val []int64
}
func (*ArrayInt64) Scan ¶
func (ai *ArrayInt64) Scan(value interface{}) error
type ArrayString ¶
type ArrayString struct {
Val []string
}
func (*ArrayString) Scan ¶
func (as *ArrayString) Scan(value interface{}) error
type CypherType ¶
type CypherType uint8
const ( CypherNull CypherType = iota CypherBoolean CypherString CypherInt64 CypherInt CypherFloat64 CypherArrayInt CypherArrayInt64 CypherArrayByte CypherArrayFloat64 CypherArrayString CypherArrayCypherValue CypherMapStringString CypherMapStringCypherValue CypherNode CypherRelationship CypherPath CypherValueType )
supported types
type CypherValue ¶
type CypherValue struct { Type CypherType Val interface{} }
func (CypherValue) ConvertValue ¶
func (cv CypherValue) ConvertValue(v interface{}) (driver.Value, error)
func (*CypherValue) Scan ¶
func (v *CypherValue) Scan(value interface{}) error
func (*CypherValue) UnmarshalJSON ¶
func (c *CypherValue) UnmarshalJSON(b []byte) error
type MapStringCypherValue ¶
type MapStringCypherValue struct {
Val map[string]CypherValue
}
func (*MapStringCypherValue) Scan ¶
func (msc *MapStringCypherValue) Scan(value interface{}) error
type MapStringString ¶
func (*MapStringString) Scan ¶
func (mss *MapStringString) Scan(value interface{}) error
type Node ¶
type Node struct { LabelURI string `json:"labels"` SelfURI string `json:"self"` Properties map[string]CypherValue `json:"data"` }
type Relationship ¶
type Relationship struct { Type string `json:"type"` SelfURI string `json:"self"` Properties map[string]CypherValue `json:"data"` }
func (*Relationship) Scan ¶
func (r *Relationship) Scan(value interface{}) error
Click to show internal directories.
Click to hide internal directories.