Closed gerardnll closed 1 year ago
Hi @gerardnll, I found this answer on Stack Overflow: https://stackoverflow.com/a/43719269/4848587
I tested converting the column from json
to jsonb
and the query worked. Is that an option for you?
Thanks Jason. Shouldn’t be a problem for me jsonb, I’ll try it.
DB: PostgreSQL 13.6 Laravel: 9.38.0
When trying to create a merged view without duplicates on a table with json columns an error is thrown. If duplicates are allowed it works fine.
Output: