UnboundRelationship

Represents a relationship from a labeled property graph.

Like mg_relationship, but without identifiers for start and end nodes. Mainly used as a supporting type for mg_path. An unbound relationship owns its type string and property map.

Constructors

this
this(UnboundRelationship other)

Create a shallow copy of other unbound relationship.

this
this(Value value)

Create a unbound relationship from a Value.

this
this(mg_unbound_relationship* ptr)

Create a Unbound Relationship using the given mg_unbound_relationship pointer.

Members

Functions

id
auto id()

Returns the unbound relationship id.

opEquals
auto opEquals(UnboundRelationship other)

Compares this unbound relationship with other. Return: true if same, false otherwise.

properties
auto properties()

Returns the unbound relationship properties.

ptr
auto ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()

Return the hash code for this unbound relationship.

toString
string toString()

Return a printable string representation of this unbound relationship.

type
auto type()

Returns the unbound relationship type.

Meta