Hi! I have a findOne query on a MongoDB collection, with a projection to only include a field called "title". However, the query response includes the entire document. Please see below:
Any ideas on what I'm doing wrong?
Thanks!
Hi! I have a findOne query on a MongoDB collection, with a projection to only include a field called "title". However, the query response includes the entire document. Please see below:
Any ideas on what I'm doing wrong?
Thanks!
Hi @adam_duff, unfortunately projections currently aren't supported with findOne
queries our engineers are looking into updating our MongoDB drivers for cases like this but we don't have a timeline for it at the moment. Can you try using a find query instead with a limit
of 1
?