mongodb基本操作命令

1、列出数据库
show dbs

2、使用 template 库
use template

3、列出数据表
show collections

4、查看templates表的数据
db.templates.find().pretty();

想了解更多关于mongodb基本操作命令的内容,请扫微信
或微信搜索jiemingpan

本文链接:http://www.soufuzi.com/jianzhan/3119

(0)
上一篇 2025-05-14 17:02:32
下一篇 2025-05-14 17:02:32

相关推荐

  • Siliconflow是什么

    硅基流动(Siliconflow)是专门提供开源模型 API 云服务的平台。

    2024-12-19 10:38:11
  • Thymeleaf 模板引擎

    Thymeleaf (https://www.thymeleaf.org/ Thymeleaf 3.0.15) 是一个XML/XHTML/HTML5模板引擎,可用于Web与非Web环境中的应用开发。它是一个开源的Java库,基于Apache License 2.0许可。 Thymeleaf提供了一个用于整合Spring MVC的可选模块,在应用开发中,你可以使用Thymeleaf来完全代替JSP,或其他模板引擎,如Velocit

    2024-10-05 04:37:23