Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

What is the correct aggregation pipeline to prefix all the values of the 'name' column in the 'test' collection?

db.test.aggregate([{ $project: { $concat: { name: ['prefix', '$name'] } } }]);
db.test.aggregate([{ $project: { name: { $concat: ['prefix', '$name'] } } }]);
db.test.aggregate([{ $group: { name: { 'prefix' + '$name' } } }]);
db.test.aggregate([{ $group: { name: ['prefix', '$name'] } }]);
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon