Hi @denesb,
I am not able to understand how to execute JSON queries. Any example would be helpful along with prerequisite queries.
Hi @denesb,
I am not able to understand how to execute JSON queries. Any example would be helpful along with prerequisite queries.
This works:
cqlsh> INSERT INTO ks.tbl_json JSON '{"scores": {"11": 112}, "id": 0}';
Note, that object keys are always string in JSON
, even if in this case, the map represented by the JSON
object is map<int, int>
.