You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -126,13 +126,13 @@ All of the above exceptions are programmer errors and strictly enforced. Empty q
126
126
If you set a field to the wrong type, the library logs a warning then converts the type via the appropriate PHP cast.
127
127
128
128
## Multiple Database Support
129
-
While this is primarily a single database ORM, you can switch databases at run time. Save the value from `$connectionId = \PHPFUI\ORM::addConnection($pdo);` and then call `\PHPFUI\ORM::useConnection($db);` to switch. `\PHPFUI\ORM::addConnection` will set the current connection.
129
+
While this is primarily a single database ORM, you can switch databases at run time. Save the value from `$connectionId = \PHPFUI\ORM::addConnection($pdo);` and then call `\PHPFUI\ORM::useConnection(connectionId);` to switch. `\PHPFUI\ORM::addConnection` will set the current connection.
130
130
131
131
The programmer must make sure the proper database is currently selected when database reads or writes happen and that any primary keys are correctly handled.
0 commit comments