public object orwhere(string $columns, mixed $value [, string $operator = '='])
数据库字段名称
字段的值
操作符 =, !=, <, >
操作成功返回 Object, 失败返回 false
<?php use Asf\Db\QueryBuilder\Select; $select = new Select(); $select->cols() ->from('test') ->OrWhere(0, 1) ->OrWhere('user', 1); // string(73) "[SQL] SELECT * FROM `test` WHERE `0` = ? OR `user` = ? [BVALUES] 1 , 1" var_dump($select->show());