diff options
author | Simon Holywell <[email protected]> | 2013-02-28 13:46:11 +0000 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2013-02-28 13:46:11 +0000 |
commit | a4b088a4df13445bff46cdd0521a70d523913958 (patch) | |
tree | 1e73935149b9d214fffa8b77547572880a2a42ae /docs | |
parent | 3654d5646cc1951ff1c8bd8f0210e12fd79f9010 (diff) |
Document array config to use connection_string
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration.rst | 4 |
1 files changed, 2 insertions, 2 deletions
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/ |