Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JCBC-960: Expression method to wrap in parenthesis
Motivation ---------- Often, N1QL statements will need to explicitly define evaluation order by using parenthesis. There is currently no method to do that and one as to fallback to string concatenation inside of an x() call. Modifications ------------- Added the `par()` method that infixes an Expression inside parenthesis. Result ------ Better looking wrapping of Expression in parenthesis. Change-Id: Ia35ac8266e54a3ecc4e439c2f0a809a83312283d Reviewed-on: http://review.couchbase.org/64210 Tested-by: Simon Baslé <simon@couchbase.com> Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
- Loading branch information