added support for DB::expr() in where clauses