当前位置:网站首页>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); }
边栏推荐
- Deep understanding of UDP, TCP
- 网上可以开炒股账户吗安全吗
- 能源路由器入门必读:面向能源互联网的架构和功能
- Write it into the SR table in the way of flinksql. It is found that the data to be deleted has not been deleted. Refer to the document https://do
- 基础篇:带你从头到尾玩转注解
- Advanced function learning in ES6
- Introduction to uboot
- ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作
- Postman interface test I
- Luogu p2482 [sdoi2010] zhuguosha
猜你喜欢
Pit using BigDecimal
Some thoughts on the testing work in the process of R & D
中国首款电音音频类“山野电音”数藏发售来了!
STM32基础知识—内存映射
Use 3 in data modeling σ Eliminate outliers for data cleaning
Natapp intranet penetration
The new activity of "the arrival of twelve constellations and goddesses" was launched
ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作
Pytest learning - dayone
[learning notes - Li Hongyi] Gan (generation of confrontation network) full series (I)
随机推荐
Applet sliding, clicking and switching simple UI
ORM model -- associated fields, abstract model classes
Qualifying 3
CDZSC_ 2022 winter vacation personal training match level 21 (1)
Arcgis操作: 批量修改属性表
Why are social portals rarely provided in real estate o2o applications?
内存==c语言1
conda离线创建虚拟环境
CDZSC_2022寒假个人训练赛21级(1)
C# 初始化程序时查看初始化到哪里了示例
The industrial chain of consumer Internet is actually very short. It only undertakes the role of docking and matchmaking between upstream and downstream platforms
ES6中的函數進階學習
The combination of over clause and aggregate function in SQL Server
2020ccpc Weihai J - Steins; Game (SG function, linear basis)
CodeForces - 1324D Pair of Topics(二分或双指针)
ORM -- query type, association query
【ORM框架】
STM32产品介绍
洛谷P2482 [SDOI2010]猪国杀
ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作