Arango::Tango::Collection - ArangoDB Collection object
version 0.009
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:
Arango::Tango::Collection
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.
get_access_level
my $perms = $db->get_access_level($user)
Fetch the collection access level for a specific user.
set_access_level
$db->set_access_level($user, 'none')
Sets the collection access level for a specific user.
clear_access_level
$db->clear_access_level($user, 'none')
Clears the collection access level for a specific user.
Alberto Simões <ambs@cpan.org>
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.
To install Arango::Tango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Arango::Tango
CPAN shell
perl -MCPAN -e shell install Arango::Tango
For more information on module installation, please visit the detailed CPAN module installation guide.