diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-29 13:44:27 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-29 13:44:27 +0100 |
commit | 4a64a223da13a8fb1bf2720f068e55a7967a4486 (patch) | |
tree | 2986fca0191318f3bcff379fb7d464814a83843a /user_guide_src/source/database/connecting.rst | |
parent | 8bbb38983b8052e32063244941315fe81199e024 (diff) | |
parent | 002b4be248e448227a718e6f7d9ee39ccc575745 (diff) |
Merge upstream branch
Diffstat (limited to 'user_guide_src/source/database/connecting.rst')
-rw-r--r-- | user_guide_src/source/database/connecting.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide_src/source/database/connecting.rst b/user_guide_src/source/database/connecting.rst index a834cc0f7..fb4524116 100644 --- a/user_guide_src/source/database/connecting.rst +++ b/user_guide_src/source/database/connecting.rst @@ -122,6 +122,12 @@ return the database object. | $DB1->result(); | etc... +.. note:: You don't need to create separate database configurations if you + only need to use a different database on the same connection. You + can switch to a different database when you need to, like this: + + | $this->db->db_select($database2_name); + Reconnecting / Keeping the Connection Alive =========================================== |