Storing Json data in postgreSQL gives us many advantage, but querying the table based on the json data is not quiet straightforward and we often face problem while querying the table. Let’s say we have to query a Token table with a contents JSONB column on a PostgreSQL 9.5+ database. …