Answers for "Creating alias in a MongoDB query?"

0

Creating alias in a MongoDB query?

> db.creatingAliasDemo.aggregate(
...    [
...       {
...          $project: {
...             _id:1,
...             "FullName":"$Name"
...          }
...       }
...    ]
... );
Posted by: Guest on June-09-2021

Browse Popular Code Answers by Language