++ed by:
Hideaki Ohno

NAME

ArangoDB::Edge - An ArangoDB edge

DESCRIPTION

Instance of ArangoDB edge.

METHODS

new($raw_edge)

Constructor.

id()

Returns identifer of the edge.

revision()

Returns revision of the edge.

collection_id()

Returns collection identifier of the edge.

content()

Returns content of the edge.

get($attr_name)

Get the value of an attribute of the edge.

set($attr_name,$value)

Update the value of an attribute (Does not write to database)

fetch()

Fetch the edge data from database.

save()

Save the changes of edge to database.

delete()

Delete the edge from database.

$with_rev_check is boolean flag. If it's true, the ArangoDB checks that the revision of the edge. If there is a conflict, this method raise a error.

from()

Returns document id that start of the edge.

to()

Returns document id that end of the edge.

AUTHOR

Hideaki Ohno <hide.o.j55 {at} gmail.com>




Hosting generously
sponsored by Bytemark