Type | String |
---|---|
Default | NULL |
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 ADOdb_Active_Record::setDatabaseAdaptor(). There is normally no need to use this unless multiple database connections have been configured.
In the example below, an Active Record class called person
is associated with a database adaptor called oracleAdaptor
.
class person extends ADOdb_Active_Record { public $_dbat = 'oracleAdaptor'; }