Point out the wrong statement.

Thu Ha

New member
Point out the wrong statement.
A. Variables can hold any BSON type data
B. Aggregation expressions can use both user-defined and system variables
C. To access the value of the variable, use a string with the variable name prefixed with double dollar signs ($$)
D. None of the mentioned
 
Answer: d
Explanation: If the variable references an object, to access a specific field in the object, use the dot notation; i.e. “$$<variable>.<field>”.
 

Tìm kiếm

Back
Top