NAME

Arango::DB::Database - ArangoDB Database object

VERSION

version 0.001

USAGE

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

Arango::DB::Database answers to the following methods:

list_collections

my $cols = $database->list_collections;

Returns an array reference to the collections available in the database.

create_collection

my $col = $database->create_collection("col_name");

Creates a new collection and returns the object representing it (Arango::DB::Collection).

delete_collection

$database->delete_collection("col_name");

Deletes a collection.

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.