ReactiveCouchbase / ReactiveCouchbase-core

Core library for ReactiveCouchbase
Apache License 2.0
64 stars 28 forks source link

N1QL query making incorrect request #80

Closed MarkTickner closed 5 years ago

MarkTickner commented 7 years ago

In the following, the N1QL query is made via the query parameter 'q': https://github.com/ReactiveCouchbase/ReactiveCouchbase-core/blob/master/driver/src/main/scala/org/reactivecouchbase/N1QL.scala#L86

However, 'q' has been replaced with 'statement' in the post body: http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-rest-api/index.html

I have implemented this, should I make a pull request?