I have the following Mongo structure
{
"brand": "test",
"keyword": "test",
"user": "test",
"link": "AAA",
"text": "test",
"insert_utc_ts": "2021-11-04 23:18:34.970",
"update_utc_ts": "2021-11-04 23:45:55.561",
"media": [{
"src": "Test2",
"media_ai_text": "Test",
"media_type": "PHOTO_TEST",
"insert_utc_ts": "2021-11-04 23:23:30.315",
"update_utc_ts": "2021-11-04 23:23:30.315"
}, {
"src": "Test",
"media_ai_text": "Test",
"media_type": "PHOTO_TEST",
"insert_utc_ts": "2021-11-04 23:23:45.331",
"update_utc_ts": "2021-11-04 23:23:45.331"
}]
}
I need to find the Media update_utc_ts where media.src = Test2 and link = AAA
I've tried to use this filter
{ link: "AAA", media.src: "Test2"}
But it's not working at all. Any help is appreciated Thx
{ link: "AAA", "media.src": "Test2"}?