V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zxCoder
V2EX  ›  问与答

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

  •  
  •   zxCoder · Nov 30, 2020 · 1404 views
    This topic created in 1974 days ago, the information mentioned may be changed or developed.

    用 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 replies    2020-12-01 10:23:33 +08:00
    statement
        1
    statement  
       Nov 30, 2020
    只能查询 编辑功能都没有吧
    Vegetable
        2
    Vegetable  
       Nov 30, 2020
    db.getCollection('system.version').find()
    cloud107202
        3
    cloud107202  
       Nov 30, 2020
    Robo 3T
    hackerang
        4
    hackerang  
       Dec 1, 2020
    tableplus
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6006 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 03:31 · PVG 11:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.