v5:activerecord:dbat
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
activerecord:dbat [2015/12/06 17:16] – created mnewnham | v5:activerecord:dbat [2022/06/09 21:14] (current) – ↷ Links adapted because of a move operation 154.54.249.205 | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
===== 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:setdatabaseconnection: | + | 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:setdatabaseadapter|ADOdb_Active_Record:: |
===== Usage ===== | ===== Usage ===== | ||
- | In the example below, an Active Record class called '' | + | In the example below, an Active Record class called '' |
<code php> | <code php> | ||
class person extends ADOdb_Active_Record | class person extends ADOdb_Active_Record | ||
{ | { | ||
- | | + | |
} | } | ||
</ | </ |
v5/activerecord/dbat.1449418607.txt.gz · Last modified: 2017/04/21 11:21 (external edit)