I am trying to create an ecommerce application using laravel, So when someone orders something, I store data in orders table, in which a column "products" exists. I store json object in this column. this is products json:
[{"pid":65,"min_price":"349.0000"},{"pid":71,"min_price":"349.0000"}]
Now, I want to show these order details to the user profile. So, i need to fetch rows from an another table (products), with the primary key same as "pid" in given json object.
please, suggest me how to resolve it.