docs icon indicating copy to clipboard operation
docs copied to clipboard

📙 documentation error in docs/queries.md

Open yankitchan opened this issue 7 years ago • 1 comments

Hi, I believe that in queries.md documentation, under the "distinct" heading, there is an error in that query.distinct executes the query, it doesn't require calling query.find(). So in the example, it should be query.distinct('age').then(function(...)

Thanks

yankitchan avatar Feb 07 '18 08:02 yankitchan

Hi, can you open a PR for this please?

On Feb 7, 2018, 03:50 -0500, yankitchan [email protected], wrote:

Hi, I believe that in queries.md documentation, under the "distinct" heading, there is an error in that query.distinct executes the query, it doesn't require calling query.find(). So in the example, it should be query.distinct('age').then(function(...) Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

flovilmart avatar Feb 07 '18 13:02 flovilmart