Conditional query with a list inside the table.

Options
I have a table with price_lists, and a list of user_ids on each row in that table to check what price_lists the user have access to.
{
"pricelist_name": "test 1"
"users":[2,3,4]
},
{
"pricelist_name": "test 2"
"users":[2,4]
},
{
"pricelist_name": "test 3"
"users":[4]
}How would i return only the pricelists that a user have access to in Xano.

Using custom query but don't really know how to check inside a list, auth:id == price_list.user_list.id, wont do it.

Comments