I need to select id in array [1, 2, 3, 4, 5],
if there is no document with Id 3 and 5, I want default name for this.
for example.
{id:1,name:a}
{id:2,name:b}
{id:4,name:c}
query something...
find ... id:{$in:{1,2,3,4,5}}})
-> result should be
{id:1,name:a}
{id:2,name:b}
{id:3,name:defaultvalue}
{id:4,name:c}
{id:5,name:defaultvalue}
i want default value for 3 and 5.
how should i query?? please help