Say if I have my data in firebase stored as the following:
{
"sensor_data": {
"duration": 41143403,
"activity": "unknown"
},
"sensor_name": "Activity",
"timestamp": {
"start_time": "Mon Mar 6 00:00:00 EST 2017",
"end_time": "Mon Mar 6 11:25:44 EST 2017"
}
},
I want to get the duration value within the sensor_data object by entering a string input, comparing that string input to the start_time value within the timestamp object. How is it possible to execute a query as such? does the string input have to match exactly to the start_time value?