ENTRY_DATABASE_NAME
ENTRY_DATABASE_NAME
Databases index
A class for managing ArangoDB Databases
This class provides functions to manage Databases through ArangoDB's Database API
create(\triagens\ArangoDb\Connection $connection, string $name) : array
creates a database
This creates a new database
\triagens\ArangoDb\Connection | $connection |
|
string | $name |
|
$responseArray - The response array.
delete(\triagens\ArangoDb\Connection $connection, string $name) : array
Deletes a database
This will delete an existing database.
\triagens\ArangoDb\Connection | $connection |
|
string | $name |
|
$responseArray - The response array.
listDatabases(\triagens\ArangoDb\Connection $connection) : array
List databases
This will list the databases that exist on the server
\triagens\ArangoDb\Connection | $connection |
|
$responseArray - The response array.
listUserDatabases(\triagens\ArangoDb\Connection $connection) : array
List user databases
Retrieves the list of all databases the current user can access without specifying a different username or password.
\triagens\ArangoDb\Connection | $connection |
|
$responseArray - The response array.
getInfo(\triagens\ArangoDb\Connection $connection) : array
Retrieves information about the current database
This will get information about the currently used database from the server
\triagens\ArangoDb\Connection | $connection |
|
$responseArray - The response array.