經安全檢測,此網站為安全網站,請放心前往原始網址!

Generate Test Data — MongoDB Manual 2.6.7

The insertData() function takes three parameters: a database, a new or existing collection, and the number of documents to create. The function creates documents with an x field set to an incremented integer, as in the following example documents:

docs.mongodb.org

網址安全性掃描由 google 提供