$model = new tblModel();
$select = $model->select();
$select->where('(x=1 OR x=2)');
$select->where('(y=1 OR y=2)');
ViktorG wrote:
>
> Hi,
>
> I would like to do something like:
>
> SELECT * FROM tbl WHERE (x = 1 OR x = 2) AND (y = 1 OR y = 2);
>
> Is this possible by using the Zend DB Table Object?
>
-----
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
View this message in context: http://www.nabble.com/nesting-conditions-tp20940516p20945007.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论