当前位置:网站首页>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); }
边栏推荐
- Bit operation ==c language 2
- conda离线创建虚拟环境
- ORM模型--关联字段,抽象模型类
- Google colab loads Google drive (Google drive is used in Google colab)
- Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
- Gym - 102219J Kitchen Plates(暴力或拓扑序列)
- 小程序实现页面多级来回切换支持滑动和点击操作
- 洛谷P2482 [SDOI2010]猪国杀
- uboot机构简介
- 企业实战|复杂业务关系下的银行业运维指标体系建设
猜你喜欢
CentOS installs JDK1.8 and mysql5 and 8 (the same command 58 in the second installation mode is common, opening access rights and changing passwords)
ES类和对象、原型
ISP、IAP、ICP、JTAG、SWD的编程特点
ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作
反卷积通俗详细解析与nn.ConvTranspose2d重要参数解释
Web3.0 series distributed storage IPFs
The landing practice of ByteDance kitex in SEMA e-commerce scene
【学习笔记-李宏毅】GAN(生成对抗网络)全系列(一)
Google colab loads Google drive (Google drive is used in Google colab)
Internship log - day04
随机推荐
ORM--查询类型,关联查询
ES6中的函數進階學習
XML配置文件解析与建模
Applet popup half angle mask layer
CDZSC_2022寒假个人训练赛21级(2)
Arcgis操作: 批量修改属性表
一大波开源小抄来袭
Selenium+bs4 parsing +mysql capturing BiliBili Tarot data
request对象对请求体,请求头参数的解析
Analyze Android event distribution mechanism according to popular interview questions (II) -- event conflict analysis and handling
Guys, how can mysql-cdc convert the upsert message to append only
Deep understanding of UDP, TCP
There is a problem using Chinese characters in SQL. Who has encountered it? Such as value & lt; & gt;` None`
第十四次试验
The new activity of "the arrival of twelve constellations and goddesses" was launched
The physical meaning of imaginary number J
CodeForces - 1324D Pair of Topics(二分或双指针)
ORM模型--关联字段,抽象模型类
ORM model -- associated fields, abstract model classes
[Frida practice] "one line" code teaches you to obtain all Lua scripts in wegame platform