如果统计event_params集合下属性key=model_id value的string_value=2的数据 可以可以直接通过mongo语句查到么,还是只能在内存中处理?
{
"_id" : ObjectId("5b987bc343b8ee27c54ca255"),
"event_date" : "20180910",
"event_timestamp" : "1536583614871230",
"event_name" : "check_out",
"event_params" : [
{
"key" : "user_id",
"value" : {
"string_value" : "23031"
}
},
{
"key" : "network",
"value" : {
"string_value" : "4"
}
},
{
"key" : "device_id",
"value" : {
"string_value" : "85b111ae1b75c227"
}
},
{
"key" : "firebase_screen_class",
"value" : {
"string_value" : "OrderConfirmationActivity"
}
},
{
"key" : "time_id",
"value" : {
"string_value" : "1536583614870"
}
},
{
"key" : "version",
"value" : {
"string_value" : "1.7.2"
}
},
{
"key" : "firebase_event_origin",
"value" : {
"string_value" : "app"
}
},
{
"key" : "reg_time",
"value" : {
"string_value" : "1536583618"
}
},
{
"key" : "firebase_screen_id",
"value" : {
"int_value" : "-7736801030496289429"
}
},
{
"key" : "model_id",
"value" : {
"string_value" : "2"
}
}
],
"event_previous_timestamp" : "1536583611395230",
"event_bundle_sequence_id" : "14",
"event_server_timestamp_offset" : "54061658",
"user_pseudo_id" : "d66a564af43617f7d04ec28a601219e6",
"user_properties" : [
{
"key" : "first_open_time",
"value" : {
"int_value" : "1536580800000",
"set_timestamp_micros" : "1536579826411000"
}
}
],
"user_first_touch_timestamp" : "1536579826411000",
"device" : {
"category" : "mobile",
"mobile_brand_name" : "Samsung",
"mobile_model_name" : "SM-G610F",
"mobile_marketing_name" : "J7 Prime",
"mobile_os_hardware_model" : "SM-G610F",
"operating_system" : "ANDROID",
"operating_system_version" : "6.0.1",
"language" : "ar-il",
"is_limited_ad_tracking" : "No",
"time_zone_offset_seconds" : "10800"
},
"geo" : {
"continent" : "Asia",
"country" : "Saudi Arabia",
"region" : "Makkah Province",
"city" : "Jeddah"
},
"app_info" : {
"id" : "com.onemena.momshop",
"version" : "1.7.2",
"firebase_app_id" : "1:958449024958:android:a7b5ddeb0af248ee",
"install_source" : "com.android.vending"
},
"traffic_source" : {
"name" : "(direct)",
"medium" : "(none)",
"source" : "(direct)"
},
"stream_id" : "1211874123",
"platform" : "ANDROID"
}