I've the following json information in a tinyDB
{
"_default": {
"1": {
"status": {
"timestamp": "2021-03-21T15:12:04.025Z",
"total_count": 4436
},
"data": [
{
"id": 1,
"name": "abc"
},
{
"id": 2,
"name": "def"
},
{
"id": 1,
"name": "qwe"
}
]
}
}
}
I understand how to search in the status section i.e.
listings = db.table('_default')
E = Query()
print(listings.search(E.status.total_count == 4436))
But how can I search inside the data section with [] ?