NAME

Arango::Tango::Collection - ArangoDB Collection object

VERSION

version 0.007

USAGE

This class should not be created directly. The Arango::Tango module is responsible for creating instances of this object.

Arango::Tango::Collection answers to the following methods:

create_document

$collection->create_document( { 'Hello' => 'World' } );
$collection->create_document( q!"{ "Hello": "World" }! );

Stores a document in specified collection

document_paths

my $paths = $collection->document_paths;

Lists all collection document as their paths in the database. Returns a hash reference.

AUTHOR

Alberto Simões <ambs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Alberto Simões.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.