I’m trying out the new Google App Scripts Data Base and I’m having trouble figuring out a particular type of query.
What is the best way to find if employee 434 has a qualification named “QUAL 1” that was issued after 20050101? I’ve included his record below.
{
"id": 434,
"qualifications": [
{
"pathway": "A",
"name": "QUAL1",
"issueDate": 20060330,
"agencyName": "STATE OFFICE 1"
},
{
"pathway": "B",
"name": "QUAL2",
"issueDate": 20090305,
"agencyName": "STATE OFFICE 2"
}
],
"name": {
"last": "SMITH",
"first": "JOHN"
},
"type": "hr"
}
I hope I’ve understood correctly: