Added docs for handle databases

This commit is contained in:
Walter Dal Mut
2014-09-13 09:38:04 +02:00
parent 0c61df27bb
commit c682d8fe70
+12
View File
@@ -110,6 +110,18 @@ array(1) {
}
```
## Database operations
You can create, list or destroy databases using dedicated methods
```php
$client->getDatabases(); // list all databases
$client->createDatabase("my.name"); // create a new database with name "my.name"
$client->deleteDatabase("my.name"); // delete an existing database with name "my.name"
```
Actually only queryable adapters can handle databases (implements the `QueryableInterface`)
## Install it
Just use composer