summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortag <[email protected]>2012-11-26 10:58:26 -0500
committertag <[email protected]>2012-11-26 10:58:26 -0500
commit0761fc37077ef66d05be1f248248f1a5a3d494e1 (patch)
treea34a12740d11412eb7ba0232b1453f99af7f04e3
parent7c95314624d427e99a5213e2868d305f421b6962 (diff)
Minor spelling/clarification tweaks to multi-connection docs.
-rw-r--r--README.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index ca3a554..c1e299b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -624,7 +624,7 @@ When query caching is enabled, Idiorm will cache the results of every `SELECT` q
### Mulitple Connections ###
Idiorm now works with multiple conections. Most of the static functions work with an optional connection name as an extra parameter. For the `ORM::configure` method, this means that when passing connection strings for a new connection, the second parameter, which is typically omitted, should be `null`. In all cases, if a connection name is no provided, it defaults to `ORM::DEFAULT_CONNECTION`.
-When chaining, once `for_table()` has been used in the chain, remaining calls use the correct connection.
+When chaining, once `for_table()` has been used in the chain, remaining calls in the chain use the correct connection.
```php
// Default connection
@@ -659,10 +659,10 @@ When chaining, once `for_table()` has been used in the chain, remaining calls us
* A new method has been added, `ORM::get_connection_keys()`, which returns an array of connection names.
-* Cachine *should* work with multiple connections (remember to turn caching on for each connection), but the unit tests are not robust. Please report any errors.
+* Caching *should* work with multiple connections (remember to turn caching on for each connection), but the unit tests are not robust. Please report any errors.
##### Supported Methods #####
-In each of these cases, the `$which` parameter is optional.
+In each of these cases, the `$which` parameter is optional, and is an arbitrary key identifying the named connection.
* `ORM::configure($key, $value, $which)`
* `ORM::for_table($table_name, $which)`