当前位置:网站首页>Mongodb creates an implicit database as an exercise
Mongodb creates an implicit database as an exercise
2022-07-07 10:08:00 【Rice field prospector】
try { db.comment.insertMany([ {“_id”:“1”,“articleid”:“100001”,“content”:“ We shouldn't waste the morning on cell phones , Health is very important , A cup of warm water makes you and me happy He .”,“userid”:“1002”,“nickname”:“ Forget about the Jianghu ”,“createdatetime”:new Date(“2019-08- 05T22:08:15.522Z”),“likenum”:NumberInt(1000),“state”:“1”}, {“_id”:“2”,“articleid”:“100001”,“content”:“ I drink cold boiled water on an empty stomach in summer , Drink warm water in winter ”,“userid”:“1005”,“nickname”:“ The Iraqi are haggard Haggard ”,“createdatetime”:new Date(“2019-08-05T23:58:51.485Z”),“likenum”:NumberInt(888),“state”:“1”}, {“_id”:“3”,“articleid”:“100001”,“content”:“ I drink cold water all the time , Drink in winter and summer .”,“userid”:“1004”,“nickname”:“ Jack boat Long ”,“createdatetime”:new Date(“2019-08-06T01:05:06.321Z”),“likenum”:NumberInt(666),“state”:“1”}, {“_id”:“4”,“articleid”:“100001”,“content”:“ Experts say you can't eat on an empty stomach , Affect health .”,“userid”:“1003”,“nickname”:“ kay scatter ”,“createdatetime”:new Date(“2019-08-06T08:18:35.288Z”),“likenum”:NumberInt(2000),“state”:“1”}, {“_id”:“5”,“articleid”:“100001”,“content”:“ Studies have shown that , Just boiled water must not be drunk , Because it's hot mouth .”,“userid”:“1003”,“nickname”:“ Caesar ”,“createdatetime”:new Date(“2019-08- 06T11:01:02.521Z”),“likenum”:NumberInt(3000),“state”:“1”} ]); } catch (e) { print (e); }
边栏推荐
- 2016 CCPC Hangzhou Onsite
- Introduction to automated testing framework
- ES6中的函数进阶学习
- The combination of over clause and aggregate function in SQL Server
- Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
- Check the example of where the initialization is when C initializes the program
- ORM--数据库增删改查操作逻辑
- 大佬们,有没有遇到过flink cdc读MySQLbinlog丢数据的情况,每次任务重启就有概率丢数
- 有没有大佬帮忙看看这个报错,有啥排查思路,oracle cdc 2.2.1 flink 1.14.4
- Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
猜你喜欢
随机推荐
web3.0系列之分布式存储IPFS
Arcgis操作: 批量修改属性表
Enterprise practice | construction of banking operation and maintenance index system under complex business relations
Codeforces - 1324d pair of topics
Apprentissage avancé des fonctions en es6
Gauss elimination
Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
How to use Mongo shake to realize bidirectional synchronization of mongodb in shake database?
Can't connect to MySQL server on '(10060) solution summary
Main (argc, *argv[]) details
2016 CCPC Hangzhou Onsite
Delete a record in the table in pl/sql by mistake, and the recovery method
[ORM framework]
运用tensorflow中的keras搭建卷积神经网络
Agile course training
ES6中的函數進階學習
Some test points about coupon test
高数_第1章空间解析几何与向量代数_向量的数量积
剑指 Offer II 107. 矩阵中的距离
2020 Zhejiang Provincial Games









