This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
v5:activerecord:dbat [2016/01/13 02:15] mnewnham ↷ Page moved from activerecord:dbat to v5:activerecord:dbat |
v5:activerecord:dbat [2016/01/13 02:15] (current) mnewnham ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 6: | Line 6: | ||
</WRAP> | </WRAP> | ||
===== Description ===== | ===== Description ===== | ||
- | Setting the value of this class variable forces the class to use the specified database connection for a class. Form more information on this, see [[activerecord:setdatabaseadaptor|ADOdb_Active_Record::setDatabaseAdaptor()]]. There is normally no need to use this unless multiple database connections have been configured. | + | Setting the value of this class variable forces the class to use the specified database connection for a class. Form more information on this, see [[v5:activerecord:setdatabaseadaptor|ADOdb_Active_Record::setDatabaseAdaptor()]]. There is normally no need to use this unless multiple database connections have been configured. |
===== Usage ===== | ===== Usage ===== | ||
In the example below, an Active Record class called ''person'' is associated with a database adaptor called ''oracleAdaptor''. | In the example below, an Active Record class called ''person'' is associated with a database adaptor called ''oracleAdaptor''. |