I have a database table column(collection
) with data type text
I have inserted json data in collection
This is my json data
{"name":"test","age":"25","country":"xxx"}
But now how do i query this json data. Is there any option as follows
User.where(collection: :name) # Here name denotes test