Support $result->and()
Support $result->or()
Support closing WHERE parentheses