andcastillo opened a new issue #506: Mango _find query with fields/names that 
starts with dollar sign "$"
URL: https://github.com/apache/couchdb-documentation/issues/506
 
 
   It is not possible to execute a _find query on Mango if the matching 
parameter name starts with a dollar sign $.
   
   ## Description
   
   If you call the _find function with the statement {"$type" : "entry"}  Mango 
throws an error because "$type" is not an operator.
   
   ## Steps to Reproduce
   
   Create a database where every single entry contains the field "$type": 
"entry".
   
   Try to filter out the documents which "$type" = "entry", by using the 
**_find** function
   
   ## Expected Behaviour
   
   Return all the entries in the database
   
   ## Your Environment
   
   Any CouchDB version supporting Mango
   
   ## Aditional information
   
   Does somebody know a way to circumvent this problem that does not require to 
fix the names on my database?
   
   Is there a way to escape the dollar sign in the names?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to