azuqua / cassanknex

A CQL query builder written in the spirit of Knexjs
MIT License
50 stars 10 forks source link

Allow filtering #41

Closed ndelvalle closed 6 years ago

ndelvalle commented 6 years ago

Is there a nice way to add the ALLOW FILTERING modifier to a query?

ndelvalle commented 6 years ago

Related: https://www.datastax.com/dev/blog/allow-filtering-explained-2

UnbounDev commented 6 years ago

Yes, via allowFiltering(); see the tests reference: https://github.com/azuqua/cassanknex/blob/master/tests/queries.test.js#L94-L104

ndelvalle commented 6 years ago

Awesome, thanks @UnbounDev ! Edit: I changed the issue title because it might seem rude