apollo-datasource-mongodb icon indicating copy to clipboard operation
apollo-datasource-mongodb copied to clipboard

Allow specifiying mongodb find options

Open Timeraa opened this issue 3 years ago • 2 comments

When the DataLoader runs the mongodb query it should allow the user to specify some options like projection as you don't need to cache/fetch fields that you don't use in your queries.

Timeraa avatar Oct 11 '21 22:10 Timeraa

I agree. Unfortunately the lack of options makes this datasource implementation too limited for my app.

lolo-io avatar Feb 22 '22 08:02 lolo-io

If it helps, I made my own adaption of it here, it includes projection as it's features as well as we highly depend on it.

Timeraa avatar Feb 23 '22 14:02 Timeraa