C#C
C#3y ago
Darker

Cosmos and SQL API, how can I project and remove fields

Hi all,

I am currently using ReadItemAsync to read the content of an item. The are instances when I am not interested in all the fields, and I would dynamically filter out properties without have to create a new POCO.

In Mongo I can do this with a ProjectionDefinition, is there a way I can do this with the SQL API?
Was this page helpful?