1.

________ subtracts two dates to return the difference in milliseconds.(a) $rem(b) $mod(c) $div(d) $subtractI had been asked this question in homework.Enquiry is from Pipeline Limits in section Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer» CORRECT OPTION is (a) $rem

Explanation: The $subtract EXPRESSION has the following syntax: { $subtract: [ , ] }.


Discussion

No Comment Found

Related InterviewSolutions