I try to do a SQL query on Hazelcast map. ata in the map is in Json format.
How can I do a query with json filter ? I need to get all data with hasEvents == true
I tried to do this filter :
select JSON_QUERY(this, '$.data.field1.hasEvents?==true') from products
but it doesn't work
I expect to get all the entries in the map where data.field1.hasEvents = true
Assume that you have this table structure
Your SQL should be something like