We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2025b46 commit 0021670Copy full SHA for 0021670
mongoDB/src/04-insert-doc/insert.mongodb
@@ -0,0 +1,13 @@
1
+use("platzi_store")
2
+
3
+db.products.insertOne({
4
+ _id: 1,
5
+ name: "Product 1",
6
+ price: 10000
7
+})
8
9
10
+ _id: 2,
11
+ name: "Product 2",
12
+ price: 100
13
mongoDB/src/04-insert-doc/query.mongodb
@@ -0,0 +1,3 @@
+db.products.find()
0 commit comments