From a4b088a4df13445bff46cdd0521a70d523913958 Mon Sep 17 00:00:00 2001 From: Simon Holywell Date: Thu, 28 Feb 2013 13:46:11 +0000 Subject: Document array config to use connection_string --- docs/configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/configuration.rst') diff --git a/docs/configuration.rst b/docs/configuration.rst index d464032..bfb50c2 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -82,7 +82,7 @@ configuration array shortcut: :: ORM::configure(array( - 'mysql:host=localhost;dbname=my_database', + 'connection_string' => 'mysql:host=localhost;dbname=my_database', 'username' => 'database_user', 'password' => 'top_secret' )); @@ -243,4 +243,4 @@ Warnings and gotchas .. _the PDO documentation: http://www.php.net/manual/en/pdo.construct.php .. _the PDO set attribute documentation: http://uk2.php.net/manual/en/pdo.setattribute.php .. _PDOStatement documentation: http://www.php.net/manual/en/class.pdostatement.php -.. _Memcached: http://www.memcached.org/ \ No newline at end of file +.. _Memcached: http://www.memcached.org/ -- cgit v1.2.3