Manipulation¶
Pluck¶
Return only the specified fields
Query('movies').pluck('id', 'name', 'year', 'rank')
new Query('movies').pluck('id', 'name', 'year', 'rank')
Without¶
The opposite of pluck, return the documents without the specified fields
Query('movies').without('rank', 'rating')
new Query('movies').without('rank', 'rating')