1.

Which of the following can be used to implement field level redaction?(a) $skip(b) $limit(c) $match(d) $redactThe question was asked in an online interview.My question is from Aggregation Operations in portion Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Right option is (d) $redact

The explanation: $redact reshapes each document in the STREAM by RESTRICTING the content for each document BASED on information stored in the DOCUMENTS themselves.



Discussion

No Comment Found

Related InterviewSolutions