MongoDB
 sql >> Database >  >> NoSQL >> MongoDB

Come caricare i dati iniziali in MongoDB?

./mongo server:27017/dbname --quiet my_commands.js

In my_commands.js:

db.users.insert({name:"john", email:"[email protected]", age:12});