当前位置:网站首页>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); }
边栏推荐
- Pytest learning - dayone
- Create an int type array with a length of 6. The values of the array elements are required to be between 1-30 and are assigned randomly. At the same time, the values of the required elements are diffe
- 2020CCPC威海 J - Steins;Game (sg函数、线性基)
- 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
- 剑指 Offer II 107. 矩阵中的距离
- Sword finger offer II 107 Distance in matrix
- JS reverse tutorial second issue - Ape anthropology first question
- 终于可以一行代码也不用改了!ShardingSphere 原生驱动问世
- C# 初始化程序时查看初始化到哪里了示例
- Arthas simple instructions
猜你喜欢
【无标题】
Pit encountered by vs2015 under win7 (successful)
[original] what is the core of programmer team management?
JS逆向教程第一发
Pit using BigDecimal
Internship log - day04
JS reverse tutorial second issue - Ape anthropology first question
视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」
Performance optimization record of the company's product "yunzhujia"
小程序滑动、点击切换简洁UI
随机推荐
There is a problem using Chinese characters in SQL. Who has encountered it? Such as value & lt; & gt;` None`
如何成为一名高级数字 IC 设计工程师(5-2)理论篇:ULP 低功耗设计技术精讲(上)
How to become a senior digital IC Design Engineer (1-6) Verilog coding Grammar: Classic Digital IC Design
**Grafana installation**
Flex flexible layout
thinkphp3.2信息泄露
哈夫曼编码压缩文件
sql 里面使用中文字符判断有问题,哪位遇到过?比如value<>`无`
【frida实战】“一行”代码教你获取WeGame平台中所有的lua脚本
Applet sliding, clicking and switching simple UI
EXT2 file system
Arthas simple instructions
Esp8266 uses TF card and reads and writes data (based on Arduino)
La différence entre viewpager 2 et viewpager et la mise en œuvre de la rotation viewpager 2
基于智慧城市与储住分离数字家居模式垃圾处理方法
JS inheritance prototype
第一讲:寻找矩阵的极小值
剑指 Offer II 107. 矩阵中的距离
Liunx command
Create an int type array with a length of 6. The values of the array elements are required to be between 1-30 and are assigned randomly. At the same time, the values of the required elements are diffe