diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-24 10:53:08 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-24 10:53:08 +0100 |
commit | 5ac6999c87cbca07aa2b0bfa972bac218600b404 (patch) | |
tree | 40fd9d5a78d8caf9f5dae963d543978ac679c0ba /user_guide_src/source/database | |
parent | 6f6704f3283a7b663f1598bc6013e6658d8d269b (diff) | |
parent | 5148029aaf204fb3e7e4f24a794bee781d0c218b (diff) |
Merge upstream branch
Diffstat (limited to 'user_guide_src/source/database')
-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 =========================================== |