database

[MongoDB] insert

amugae 2019. 8. 2. 12:51

db.collection.insert()

collection이 없으면 만들고 삽입

db.collection.insertOne()

하나 추가

db.collection.insertMany()

여러게 추가