MongoDB Basic Shell Commands (part-4) Array Operators $push Allows us to add an element to an array. Turns a field into an array field if it was previously a different type. The following command updates one document in the grades collection where ...

Markdown supported · ⌘↵ to post
No responses yet.