All the findOne filters below result in the following CQL (suppose text is the primary key, but this is not necessarily relevant (consequently, the returned row is also wrong):
A simple filter, { "text": "b" } does return the expected row and indeed translates to SELECT x,text FROM default_keyspace.a WHERE text=? LIMIT 1, values=[b]
(and presumably find as well).
All the findOne filters below result in the following CQL (suppose
text
is the primary key, but this is not necessarily relevant (consequently, the returned row is also wrong):Filters attempted:
Counterexample (sanity check)
A simple filter,
{ "text": "b" }
does return the expected row and indeed translates toSELECT x,text FROM default_keyspace.a WHERE text=? LIMIT 1, values=[b]