This repository was archived by the owner on Jun 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Query on nested Arrays #33
Copy link
Copy link
Open
Description
Hi, I have this saved database with me in this format. As you can see accounts have multiple array elements containing accID, server, expiry, editable, payment, etc..
Whenever I try to use query it gives me no results. Is nested multi array supported at the moment?
$query5 = $db_List->query()->where('accounts.accID', '=', '123')->results();
echo var_dump($query5);
{
"__created_at": 1541705828,
"__updated_at": 1541706169,
"data": {
"accounts": [
{
"accID": "123",
"server": "TEST",
"expiry": 100,
"editable": 200,
"payment": "x",
"parent_payment": "y",
"notes": "z"
},
{
"accID": "456",
"server": "TEST",
"expiry": 100,
"editable": 200,
"payment": "-",
"parent_payment": "-",
"notes": "Coco"
}
],
"username": "TEST",
"password": "HASH",
"email": "test@telus.com",
"blocked": false
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels