Aggregation Query Issue

Hi Team,

I am running below query for aggregation operation and below query is giving me syntax error.
Please help me out.

Please check your syntax
Just a hint
db.movies.aggregate([
{
$match: {
field1: { expression },
field2: { expression },

}
}
])

2 Likes

… plus, “is giving me syntax error” doesn’t help to resolve your issue. For next time, please post the full error message.

By the way, posting potential lab answers is against forum guidelines.

1 Like

Hi @Vinay_72051,

Please check your discourse inbox and let me know if you have any questions.

Thanks,
Sonali

Hi Sonali

Issue is resolved it was syntax error. Thank

1 Like