apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB

Home Page:https://github.com/apache/couchdb-fauxton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better Mango Query errors

rdewolff opened this issue · comments

Expected Behavior

When our queries have errors, I would like a relevant error message telling me what is causing the error and on what line.

Current Behavior

Currently, when I write a Mango Query in Fauxton with an error, I don't get any error message. I just see "No document found" and I don't see any "Executed in X ms" message.

Possible Solution

A better query builder would be nice!

Context

During dev, we are using the query builder to test some queries quickly. To assist us building new ones or simply play around with the DB to validates our DB state.

Your Environment

  • Version used: 2.2.0 & 2.3.0
  • Browser Name and version: Firefox Developer Edition 65.0b12 (64-bit)
  • Operating System and version (desktop or mobile): macOS 10.14.2
  • Link to your project: internal

Maybe there are some other tools to help interacting with CouchDB?

When there is an error in your query, this button has no effect...

On the last version available on github, the queries errors are correctly shown. So the problem seems to have been fixed.
Or is there a parameter to enable/disable errors display?

@garrensmith : any wrong query, just add an additional extra , somewhere to make your query invalid.

Perfect! Thanks for your fast reactions :)