I am doing some tests with Cassandra and its Node.JS driver, Helenus. Is there a way to change the level of query consistency using CQL?
The Helenus documentation only shows an example of this use with the Helenus Thrift connector, but I want to use a CQL connector.
I tried asking Cassandra like this
conn.cql(cqlRead, vals, {ConsistencyLevel:ANY, gzip:true}, cb);
but node chose this error
ReferenceError: ANY is not defined
Then I changed "ANY" to "1" and node ran the code, but I did not notice any difference.
Elisiário couto
source share