v5:activerecord:setdatabaseadapter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
activerecord:setdatabaseadaptor [2015/12/06 17:22] – mnewnham | v5:activerecord:setdatabaseadapter [2022/06/09 18:15] (current) – ↷ Page name changed from v5:activerecord:setdatabaseadaptor to v5:activerecord:setdatabaseadapter dregad | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[activerecord: | + | [[v5:activerecord: |
== Syntax == | == Syntax == | ||
bool ADODB_Active_Record:: | bool ADODB_Active_Record:: | ||
Line 19: | Line 19: | ||
<code php> | <code php> | ||
$db = newAdoConnection(' | $db = newAdoConnection(' | ||
- | $ADOdb_Active_Record:: | + | $db-> |
+ | $ADOdb_Active_Record:: | ||
</ | </ | ||
Example, multiple connections | Example, multiple connections | ||
Line 25: | Line 26: | ||
$db = NewADOConnection(' | $db = NewADOConnection(' | ||
$db2 = NewADOConnection(' | $db2 = NewADOConnection(' | ||
+ | |||
+ | $db-> | ||
+ | $db2-> | ||
ADOdb_Active_Record:: | ADOdb_Active_Record:: |
v5/activerecord/setdatabaseadapter.1449418962.txt.gz · Last modified: 2017/04/21 11:21 (external edit)