MongoDB.live, free & fully virtual. Register Now MongoDB.live, free & fully virtual. Register Now

Bulk find query with .NET

Hi all,

How do I create a bulk query with multiple id’s returning those documents?

A code example would be really helpful.

Hi @timah!

Welcome to the MongoDB Community :slight_smile:

Can you describe what kind of query you’re trying to create in more detail? What kind of output are you expecting given a set of example input?

Any additional information you give can help us get on the same page and hopefully enable us to give a suitable answer.

Thanks!

Hi Adrienne,

I’m looking for a way to do “bulk reads” with the .NET driver using c# classes.

Ideally inputting an array/list of filter definitions, and outputting an array/list of documents that matched one or more of those filters.

Do you know if that is possible?