Documentation
¶
Overview ¶
Package dbtype contains definitions of supported database types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration represents temporal amount containing months, days, seconds and nanoseconds. Supports longer durations than time.Duration
type LocalDateTime ¶
func (LocalDateTime) Time ¶
func (t LocalDateTime) Time() time.Time
Time casts LocalDateTime to time.Time
type Node ¶
type Node struct { Id int64 // Id of this node. Labels []string // Labels attached to this Node. Props map[string]interface{} // Properties of this Node. }
Node represents a node in the neo4j graph database
type Path ¶
type Path struct { Nodes []Node // All the nodes in the path. Relationships []Relationship }
Path represents a directed sequence of relationships between two nodes. This generally represents a traversal or walk through a graph and maintains a direction separate from that of any relationships traversed. It is allowed to be of size 0, meaning there are no relationships in it. In this case, it contains only a single node which is both the start and the end of the path.
type Point2D ¶
type Point2D struct { X float64 Y float64 SpatialRefId uint32 // Id of coordinate reference system. }
Point2D represents a two dimensional point in a particular coordinate reference system.
type Point3D ¶
type Point3D struct { X float64 Y float64 Z float64 SpatialRefId uint32 // Id of coordinate reference system. }
Point3D represents a three dimensional point in a particular coordinate reference system.
type Relationship ¶
type Relationship struct { Id int64 // Identity of this Relationship. StartId int64 // Identity of the start node of this Relationship. EndId int64 // Identity of the end node of this Relationship. Type string // Type of this Relationship. Props map[string]interface{} // Properties of this Relationship. }
Relationship represents a relationship in the neo4j graph database