opencypher

package
v0.0.0-...-aea5cd1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryWritableToString

func QueryWritableToString[T QueryWritable](qw T) (string, error)

Types

type ArrayPropertyValue

type ArrayPropertyValue []any

func (ArrayPropertyValue) WriteToQuery

func (pv ArrayPropertyValue) WriteToQuery(sb *strings.Builder) error

type EntityConnetion

type EntityConnetion string
const (
	EntityConnetionBi    EntityConnetion = "-"
	EntityConnetionLeft  EntityConnetion = "->"
	EntityConnetionRight EntityConnetion = "<-"
)

type MapPropertyValue

type MapPropertyValue map[string]any

func (MapPropertyValue) WriteToQuery

func (pv MapPropertyValue) WriteToQuery(sb *strings.Builder) error

type Node

type Node struct {
	// contains filtered or unexported fields
}

func (*Node) WriteToQuery

func (n *Node) WriteToQuery(sb *strings.Builder) error

type Path

type Path struct {
	Head *Node
	Tail []RelationshipNodePair
}

func (*Path) WriteToQuery

func (p *Path) WriteToQuery(sb *strings.Builder) error

type QueryWritable

type QueryWritable interface {
	WriteToQuery(sb *strings.Builder) error
}

type Range

type Range struct {
	Min int
	Max int
}

type Relationship

type Relationship struct {
	Hops *Range
	// contains filtered or unexported fields
}

func (*Relationship) WriteToQuery

func (r *Relationship) WriteToQuery(sb *strings.Builder) error

type RelationshipNodePair

type RelationshipNodePair struct {
	Conn1        EntityConnetion
	Node         *Node
	Conn2        EntityConnetion
	Relationship *Relationship
}

func (*RelationshipNodePair) WriteToQuery

func (p *RelationshipNodePair) WriteToQuery(sb *strings.Builder) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL