MongoDB LinQ “Select” method will really retrieve only a subset of fields?

后端 未结 2 406
盖世英雄少女心
盖世英雄少女心 2021-01-06 19:01

Searching across the internet how to retrieve a subset of fields in MongoDB, using C# official driver (but using LinQ as the base architecture) I found how to do this in Mon

2条回答
  •  离开以前
    2021-01-06 19:21

    The driver does not currently retrieve a subset of the fields. If you need that functionality, you'll need to do it manually. The ticket for this functionality is here: https://jira.mongodb.org/browse/CSHARP-456. Feel free to leave feedback or vote it up if you need this.

提交回复
热议问题