V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
zxCoder
V2EX  ›  问与答

有用 datagrip 连接 mongodb 的吗,或者有什么其他免费的 mongodb 客户端

  •  
  •   zxCoder · 2020-11-30 17:12:29 +08:00 · 977 次点击
    这是一个创建于 1251 天前的主题,其中的信息可能已经有所发展或是发生改变。

    用 datagrip 连接 mongodb

    use admin
    show collections
    db.system.version.find({})
    db.system.users.find({})
    

    show collections 可以显示 system.version 和 system.users,但是后面 db.system.version.find({})执行报错

    java.lang.Exception: TypeError: Cannot read property 'find' of undefined TypeError: Cannot read property 'find' of undefined at user_script:1:1 at ShellEvaluator.<anonymous> (all-standalone.js:86562:36) at step (all-standalone.js:86495: ...
    

    咋办,有没有其他的免费的 mongodb 客户端呢?

    4 条回复    2020-12-01 10:23:33 +08:00
    statement
        1
    statement  
       2020-11-30 17:29:42 +08:00
    只能查询 编辑功能都没有吧
    Vegetable
        2
    Vegetable  
       2020-11-30 17:40:17 +08:00
    db.getCollection('system.version').find()
    cloud107202
        3
    cloud107202  
       2020-11-30 17:44:11 +08:00
    Robo 3T
    hackerang
        4
    hackerang  
       2020-12-01 10:23:33 +08:00
    tableplus
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2629 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 13:59 · PVG 21:59 · LAX 06:59 · JFK 09:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.