Hi,
I have a table with a column of type json, in which arrays of products are
stored in the form:
{products: [ {id : 123 , name ='product1'}, {id: 214, name: 'product 2}],
size: 'XL'}
Is is possible to create an index on the row's products' ids?
I know I have to use GIN index, but I don't know how to collect the product
ids out of the array in the create index command.
Thanks in advance
raph