I want to find the the recipes from the users provided ingredients and tell the user the missing ingredient from the main recipe's ingredients how can i find the missing ingredients ? i mean how should I query to to comparing ?
{
"ingredients":[
{"title":"apple"},
{"title":"cheese"},
{"title":"banana"},
{"title":"orange"},
]
}
The second would be :
[
{"title":"apple"},
{"title":"cheese"},
]
It should give us the missing two others like :
{"title":"banana"},
{"title":"orange"},