Documentation
¶
Overview ¶
Package creators provides executors for Cypher data creation clauses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
Creator executes CREATE clauses to create new nodes and relationships in the graph.
func NewCreator ¶
NewCreator creates a new Creator instance that operates on the given storage.
func (*Creator) Execute ¶
func (c *Creator) Execute(t *tx.Transaction, clause *ast.CreateClause) (affectedNodes, affectedRels int, err error)
Execute creates nodes and relationships as specified by the CREATE clause. It returns the count of affected nodes and relationships.
Click to show internal directories.
Click to hide internal directories.