I have two "tables"/arrays, user and order, in my JSON database. It looks like this :
{
"user": [
{
"id": "1",
"name": "test"
},
{
"id": "2",
"name": "test"
},
{
"id": "3",
"name": "test"
}
],
"order": [
{
"user_id": "1",
"date_order": "2018-01-01",
"end_order": "2018-01-05"
},
{
"user_id": "2",
"date_order": "2018-02-01",
"end_order": "2018-02-05"
}
]
}
I want to retrieve all the users who haven't an order associated to them. So in this case, only the user #3. Is there a specific function to do a left join ? I read the README but I can't figure out how to "join" two "tables". Thanks !