From 69f3cae54afe7eec60160a89886fb59e7b8f8fe4 Mon Sep 17 00:00:00 2001 From: MarcioCamello Date: Mon, 17 Nov 2014 21:56:52 -0300 Subject: [PATCH] Namespaces from driver, not set Better call absolute namespace triagens\ArangoDb\ConnectionOptions and add OPTION_AUTH_USER , OPTION_AUTH_PASSWD for authorization database --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa8f623..1a773a5 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,10 @@ return [ 'arangodb' => [ 'class' => '\devgroup\arangodb\Connection', 'connectionOptions' => [ - ArangoConnectionOptions::OPTION_DATABASE => "mydatabase", - ArangoConnectionOptions::OPTION_ENDPOINT => 'tcp://127.0.0.1:8529', + triagens\ArangoDb\ConnectionOptions::OPTION_DATABASE => "mydatabase", + triagens\ArangoDb\ConnectionOptions::OPTION_ENDPOINT => 'tcp://127.0.0.1:8529', + //triagens\ArangoDb\ConnectionOptions::OPTION_AUTH_USER => '', + //triagens\ArangoDb\ConnectionOptions::OPTION_AUTH_PASSWD => '', ], ], ],