Ruby and N1QL Support


We are using ruby and looking to switch from view-based to n1ql and have some question:

  1. Is N1QL support in Ruby? Looking at it says ‘Perform N1QL query to the cluster. This API is experimental and subject to change in future.’

  2. A can query couchbase but how to do I set the consistency flag?
    I tried
    connection.query(query_limit, {:scan_consistency => 'request_plus'}}
    but it seems it did not have affect.


Any update on how to set the consistency in the ruby gem?