NAME

Arango::DB::Collection - ArangoDB Collection object

VERSION

version 0.006

USAGE

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

Arango::DB::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.