ArangoDB::Cursor - An ArangoDB cursor
my $cursor = $db->query('FOR u IN users RETURN u')->execute(); my @docs; while( my $doc = $cursor->next ){ push @docs, $doc; }
Instance of ArandoDB Cursor.
Constructor.
Returns next document(Instance of ArangoDB::Document).
Rreturns all documents in the cursor.(ARRAY reference).
The cursor on the server will be deleted implicitly.
Delete a cursor.
The cursor will automatically be destroyed on the server when the client has retrieved all documents from it. The client can also explicitly destroy the cursor at any earlier time using this method.
Hideaki Ohno <hide.o.j55 {at} gmail.com>
To install ArangoDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ArangoDB
CPAN shell
perl -MCPAN -e shell install ArangoDB
For more information on module installation, please visit the detailed CPAN module installation guide.