select vs projection #10291
Answered
by
vkarpov15
brightchip
asked this question in
Q&A
select vs projection
#10291
-
Please, someone tell me the differences And select Which one return only the filtered fields and not filtering in memory |
Beta Was this translation helpful? Give feedback.
Answered by
vkarpov15
May 27, 2021
Replies: 1 comment 1 reply
-
Two names for the same thing. The only difference is that |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Uzlopak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Two names for the same thing. The only difference is that
query.projection(v)
overwrites the current projection withv
, whereasquery.select(v)
addsv
to the current projection likeObject.assign()
.