v5:activerecord:setdatabaseadapter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
activerecord:setdatabaseadaptor [2015/12/06 02:47] – mnewnham | activerecord:setdatabaseadaptor [2015/12/06 17:21] – mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
+ | == See Also == | ||
+ | [[activerecord: | ||
== Syntax == | == Syntax == | ||
bool ADODB_Active_Record:: | bool ADODB_Active_Record:: | ||
Line 9: | Line 11: | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | This allows | + | This links the Active Record class to an ADOdb database connection. The method returns true if it is a valid connection, or false if not. The optional '' |
------------------------ | ------------------------ | ||
===== Usage ===== | ===== Usage ===== | ||
Line 19: | Line 21: | ||
Example, multiple connections | Example, multiple connections | ||
<code php> | <code php> | ||
- | $db = NewADOConnection(' | + | $db = NewADOConnection(' |
$db2 = NewADOConnection(' | $db2 = NewADOConnection(' | ||
v5/activerecord/setdatabaseadapter.txt · Last modified: 2022/06/09 18:15 by dregad