adspace


What is the syntax of mongodb collection?

Answer Posted / Radheshyam Pathak

In MongoDB, collections are created using the 'createCollection()' method or by inserting documents into a non-existing collection. For example: nndb.createCollection('myCollection')

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the command syntax for inserting a document?

63


How to define array in mongoose schema?

79


How did mongodb get its name?

60