The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

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>