SQLandSai
Labels
Differences
(38)
MongoDB
(13)
MySQL
(10)
Oracle
(6)
ORACLE DBA
(1)
Performance Tuning
(13)
PTuning
(3)
Scenarios
(4)
Scripts
(35)
SQLDBA
(99)
SQLDeveloper
(66)
SSIS
(5)
SSRS
(8)
Troubleshooting
(37)
Thursday, 7 January 2016
MongoDB : How to create collection in MongoDB
We can use db.collection.insert(document) method to insert or create new collection in the MongoDB.
Ex:
db.product.insert({item:"card",qty:5,company:"Mongo"})
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment