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 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.

this
this(mg_unbound_relationship* ptr)

Create a Unbound Relationship from a copy of the given mg_unbound_relationship.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

id
const(long) id()

Returns the unbound relationship id.

opEquals
bool opEquals(UnboundRelationship other)

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

properties
const(Map) properties()

Returns the unbound relationship properties.

ptr
const(mg_unbound_relationship*) ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
const(string) toString()

Return a printable string representation of this unbound relationship.

type
const(string) type()

Returns the unbound relationship type.

Meta