Left join with JSON
I'm using PlanetScale (MySQL) and have 2 tables: orders and products.
Every order contains basic info about the ordered products (see screenshot).
Is there a way to do this?:
I would like it take the ids from the
Every order contains basic info about the ordered products (see screenshot).
Is there a way to do this?:
I would like it take the ids from the
orders.products array and select those products.