I want to select frequence >1 records.
Take the following data for example,
It should give me the result like, [{id: 146}]
because only the id 146 occurs more than one.
Ho wcould I do this in mongoDB, thanks
{
id: 146,
name: Mary
}
{
id: 148,
name: Jack
}
{
id: 146,
name: Mary
}