You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let res = jsonQuery(['source_language[id=?] & target_language[id=?]', 27, 23], {
data: data
}).value; // I've tried to do this, but I have no success... maybe I'm doing a wrong query.
console.log(res);`
So, I would like to get the node that matches with source_language.id = 27 and target_language.id = 23, is that possible?
Thanks in advance :)
The text was updated successfully, but these errors were encountered:
Hi and thanks for your work,
I have one question, but I don't know if this is possible. I'm trying to make a query getting 2 matches in an JSON node, this is my case:
`let data = [{
"source_language": {"id": 1, "name": "English", "iso": "en"},
"target_language": {"id": 2, "name": "Afar", "iso": "aa"}
}, {
"source_language": {"id": 1, "name": "English", "iso": "en"},
"target_language": {"id": 5, "name": "Amharic", "iso": "am"}
}, {
"source_language": {"id": 27, "name": "Spanish", "iso": "es"},
"target_language": {"id": 23, "name": "German", "iso": "de"}
}, {
"source_language": {"id": 27, "name": "Spanish", "iso": "es"},
"target_language": {"id": 5, "name": "Amharic", "iso": "am"}
}, {
"source_language": {"id": 27, "name": "Spanish", "iso": "es"},
"target_language": {"id": 8, "name": "Aymara", "iso": "ay"}
}];
So, I would like to get the node that matches with source_language.id = 27 and target_language.id = 23, is that possible?
Thanks in advance :)
The text was updated successfully, but these errors were encountered: