当前位置:网站首页>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); }
边栏推荐
- Analyze Android event distribution mechanism according to popular interview questions (II) -- event conflict analysis and handling
- phpcms实现PC网站接入微信Native支付
- conda离线创建虚拟环境
- Garbage disposal method based on the separation of smart city and storage and living digital home mode
- Writing file types generated by C language
- Horizontal split of database
- 2016 CCPC Hangzhou Onsite
- 2020浙江省赛
- Luogu p2482 [sdoi2010] zhuguosha
- 使用BigDecimal的坑
猜你喜欢
Sqlplus garbled code problem, find the solution
基础篇:带你从头到尾玩转注解
ORM -- query type, association query
一大波开源小抄来袭
Postman interface test I
Google Colab装载Google Drive(Google Colab中使用Google Drive)
Pytest learning - dayone
Applet popup half angle mask layer
Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
ES6中的原型对象
随机推荐
能源路由器入门必读:面向能源互联网的架构和功能
AI moves from perception to intelligent cognition
conda离线创建虚拟环境
Google Colab装载Google Drive(Google Colab中使用Google Drive)
ES6中的函數進階學習
Google colab loads Google drive (Google drive is used in Google colab)
Analyze Android event distribution mechanism according to popular interview questions (II) -- event conflict analysis and handling
Huffman encoded compressed file
高数_第1章空间解析几何与向量代数_向量的数量积
Introduction to uboot
Some thoughts on the testing work in the process of R & D
Why are social portals rarely provided in real estate o2o applications?
Flex flexible layout
C# Socke 服务器,客户端,UDP
Sword finger offer II 107 Distance in matrix
Use 3 in data modeling σ Eliminate outliers for data cleaning
CDZSC_ 2022 winter vacation personal training match level 21 (2)
CodeForces - 1324D Pair of Topics(二分或双指针)
中国首款电音音频类“山野电音”数藏发售来了!
ORM--逻辑关系与&或;排序操作,更新记录操作,删除记录操作