当前位置:网站首页>MongoDB创建一个隐式数据库用作练习
MongoDB创建一个隐式数据库用作练习
2022-07-07 07:15:00 【稻田里展望者】
try { db.comment.insertMany([ {“_id”:“1”,“articleid”:“100001”,“content”:“我们不应该把清晨浪费在手机上,健康很重要,一杯温水幸福你我 他。”,“userid”:“1002”,“nickname”:“相忘于江湖”,“createdatetime”:new Date(“2019-08- 05T22:08:15.522Z”),“likenum”:NumberInt(1000),“state”:“1”}, {“_id”:“2”,“articleid”:“100001”,“content”:“我夏天空腹喝凉开水,冬天喝温开水”,“userid”:“1005”,“nickname”:“伊人憔 悴”,“createdatetime”:new Date(“2019-08-05T23:58:51.485Z”),“likenum”:NumberInt(888),“state”:“1”}, {“_id”:“3”,“articleid”:“100001”,“content”:“我一直喝凉开水,冬天夏天都喝。”,“userid”:“1004”,“nickname”:“杰克船 长”,“createdatetime”:new Date(“2019-08-06T01:05:06.321Z”),“likenum”:NumberInt(666),“state”:“1”}, {“_id”:“4”,“articleid”:“100001”,“content”:“专家说不能空腹吃饭,影响健康。”,“userid”:“1003”,“nickname”:“凯 撒”,“createdatetime”:new Date(“2019-08-06T08:18:35.288Z”),“likenum”:NumberInt(2000),“state”:“1”}, {“_id”:“5”,“articleid”:“100001”,“content”:“研究表明,刚烧开的水千万不能喝,因为烫 嘴。”,“userid”:“1003”,“nickname”:“凯撒”,“createdatetime”:new Date(“2019-08- 06T11:01:02.521Z”),“likenum”:NumberInt(3000),“state”:“1”} ]); } catch (e) { print (e); }
边栏推荐
- JS inheritance prototype
- How to use clipboard JS library implements copy and cut function
- La différence entre viewpager 2 et viewpager et la mise en œuvre de la rotation viewpager 2
- Luogu p2482 [sdoi2010] zhuguosha
- 细说Mysql MVCC多版本控制
- PostgreSQL创建触发器的时候报错,
- Why are social portals rarely provided in real estate o2o applications?
- 如何成为一名高级数字 IC 设计工程师(5-2)理论篇:ULP 低功耗设计技术精讲(上)
- 2020ccpc Weihai J - Steins; Game (SG function, linear basis)
- CDZSC_2022寒假个人训练赛21级(1)
猜你喜欢
Basic chapter: take you through notes
Internship log - day04
What development models did you know during the interview? Just read this one
Switching value signal anti shake FB of PLC signal processing series
视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」
Use 3 in data modeling σ Eliminate outliers for data cleaning
CSDN salary increase technology - learn about the use of several common logic controllers of JMeter
印象笔记终于支持默认markdown预览模式
Pit using BigDecimal
[4G/5G/6G专题基础-146]: 6G总体愿景与潜在关键技术白皮书解读-1-总体愿景
随机推荐
Sqlplus garbled code problem, find the solution
PostgreSQL reports an error when creating a trigger,
AI从感知走向智能认知
Liunx command
Esp8266 uses TF card and reads and writes data (based on Arduino)
大佬们,有没有遇到过flink cdc读MySQLbinlog丢数据的情况,每次任务重启就有概率丢数
Introduction to automated testing framework
thinkphp数据库的增删改查
Do you have a boss to help look at this error report and what troubleshooting ideas are there? Oracle CDC 2.2.1 flick 1.14.4
Lecture 1: stack containing min function
First issue of JS reverse tutorial
Luogu p2482 [sdoi2010] zhuguosha
Gym - 102219J Kitchen Plates(暴力或拓扑序列)
Garbage disposal method based on the separation of smart city and storage and living digital home mode
Scratch crawler mysql, Django, etc
Internship log - day07
第一讲:寻找矩阵的极小值
Can't connect to MySQL server on '(10060) solution summary
如何成为一名高级数字 IC 设计工程师(5-2)理论篇:ULP 低功耗设计技术精讲(上)
JS reverse tutorial second issue - Ape anthropology first question