v5:activerecord:where
This is an old revision of the document!
$_where
Type | String |
---|---|
Default | NULL |
Description
Setting the value of this class variable sets a default where filter for the load() operation.
Usage
In this example we always require a filter of type_code=1
for the operation.
class person extends ADOdb_Active_Record { public $_where = ' type_code=1 '; }
v5/activerecord/where.1452647750.txt.gz · Last modified: 2017/04/21 11:20 (external edit)