kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
835 stars 57 forks source link

[MongoDB] Failed to List Databases #147

Open dunix241 opened 2 months ago

dunix241 commented 2 months ago

Steps to reproduce:

  1. Add a MongoDB data source
  2. Place the cursor over the source
  3. Perform the toggle (o) action
  4. Get the error
E5108: Error executing lua: function DbeeConnectionListDatabases[1]..remote#define#request, line 2: Vim(let):Error invoking '0:function:DbeeConnectionListDatabases' on channel 5:
c.ListDatabases: switcher.ListDatabases: failed to retrieve database names: (AtlasError) Unallowed argument in listDatabases command: filter
stack traceback:
    [C]: in function 'DbeeConnectionListDatabases'
    /mnt/f/Projects/nvim-dbee/lua/dbee/handler/init.lua:256: in function 'connection_list_databases'
    /mnt/f/Projects/nvim-dbee/lua/dbee/ui/drawer/convert.lua:95: in function 'lazy_children'
    /mnt/f/Projects/nvim-dbee/lua/dbee/ui/drawer/init.lua:208: in function 'expand_node'
    /mnt/f/Projects/nvim-dbee/lua/dbee/ui/drawer/init.lua:293: in function </mnt/f/Projects/nvim-dbee/lua/dbee/ui/drawer/init.lua:285>

Screenshot

spencer-thompson commented 1 month ago

Same error here