My document in Cassandra is
{
"id": "1234",
"vowels": "aeu",
"alpha":[
"xyz",
"efgh"
],
"new": [
{"name":"nam1"},
{"name":"nam2"}
]
}
I am using Stargate Document API, query documents that has alpha
value as xyz
. I am trying to query using the where clause where={"alpha.[*]":{"$eq":"xyz"}}
. This does not work and returns empty data. Is there a way to search using the Stargate Document API for arrays