Description
n1ql should have a version() function that return version information. this will be useful for cases where behavioral changes are implemented and apps can issue queries that is tuned to specific n1ql versions.
if n1ql_version()=1.0 query='...' else if n1ql_version()=2.0 query='+++'