mongoDB数据库查看工具
发表于|更新于|技术
|浏览量:
环境
支持MAC,不确定是否支持Win
工具
- MongoDB Compass
下载地址:https://www.mongodb.com/try/download/compass
- Robo 3T (这个下载安装挺简单的)
文章作者: King
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 君莫笑!
相关推荐

2022-03-24
MongoDB常见操作
评价查询操作符$mod - 取模计算示例 1234>db.c1.find()结果:{"_id":ObjectId("4fb4af85afa87dc1bed94330"),"age":7,"length_1":30}{"_id":ObjectId("4fb4af89afa87dc1bed94331"),"age":8,"length_1":30}{"_id":ObjectId("4fb4af8cafa87dc1bed94332"),"age":6,"length_1":30} 查询age取模6等于1的数据,如下面的代码所示: 1234>db.c1.find({age:{$mod:[6,1]}})结果:{"_id&q...

2021-10-08
Redis数据库查看工具
工具 Redis Desktop Manager(被推荐,但未使用过) DBeaver(不仅支持redis,还支持多种数据库) 下载地址mac安装Redis可视化工具-Redis Desktop Manager DBeaver Enterprise 21.0 企业版激活方法 DBeaver配置 Mac查询文件 mdfind -name 文件名字 Mac查询文本 mdfind “John”mdfind -onlyin ~/Library txt dbeaver.ini文件地址 /Applications/DBeaverEE.app/Contents/Eclipse/dbeaver.ini dbeaver.ini内容 1234567891011121314-startup../Eclipse/plugins/org.eclipse.equinox.launcher_1.6.0.v20200915-1508.jar--launcher.library../Eclipse/plugins/org.eclip...

2021-02-04
mysql数据库查看工具
工具 Sequel Pro 这个仅支持Mac端,不过查询效率比navicat-premium要快,据说有特别优化加速。 navicat-premium 这个显示的sql执行时间更为接近真实场景。 下载地址:https://macwk.com/soft/navicat-premium

2021-05-18
MYSQL查询~ 存在一个表而不在另一个表中的数据
业务场景: account表保存的用户信息 包含 真正用户 和 测试用户(内部测试账号),test表保存测试用户信息,对应account表id字段test.account_id。 查询时需要剔除account表测试用户,找出account表id字段中,不与test表account字段相等的值。 方法一: 使用 not in ,容易理解,效率低 执行时间为:8.6ms(其他数据相同方法) 123注:这边因为account_id字段具有唯一性,所以才不用distinct去重。select account.id from account where account.id not in (select account_id from test) 方法二:使用 left join…on… , “test.account_id is null” 表示左连接之后在test.account_id 字段为 null的记录 执行时间:9ms(其他数据相同方法) 1select account.id from account left join test on account.id ...

2021-03-22
concat以及group_concat
concat()函数 1.功能:将多个字符串连成一个字符串。 2.语法:concat(str1,str2,…)返回结果为连接参数产生的字符串,如果有任何一个参数为NULL,则返回值为NULL。这边测试null,空白都没有效果,只有NULL有效。 3.举例: id 姓 名 1 林 晓明 1select concat(id,first_name,last_name) as info from business_account_info where id=1 结果:1林晓明 添加分隔符 1select concat(id,".",first_name," ",last_name) as info from business_account_info where id=1 结果:1.林 晓明 concat_ws()函数 concat函数的分隔符虽然多样,但需要一个一个填。如果是分隔符众多且都一致的情况下就显得很麻烦了。函数concat_ws完美解决。 1select concat_ws(",",id,...

2021-10-08
PAW API接口调试
推荐PAW一款类似postman的接口调试工具,curl导入效果感觉比postman要好,另外也有请求的多种代码方式源码。 环境本文提供的下载链接仅支持Mac 下载安装链接(破解版)https://macwk.com/soft/paw
公告
欢迎相互学习交流~
