• 设备
    • 今日
    • 0

    mongodb数据库查询

    mongodb数据库查询 showdbs; 1000e_db_demo0.129GB 1000e_db_prod0.000GB 1000e_db_product1.232GB 1000e_db_test0.741GB local33.283GB db.getName();---显示当前使用的数据库名称 db.stats();---显示当前数据库状态,包含数据库名称,集合个数,当前数据库大小... showcollections;---查看数据库中有那些个集合(表) db.fs.files.find();---观察fs.files的情况 db.e1000.fil

    阅读全文 172 °