glynnbird commented on issue #184: Error: Invalid operator: $regex
URL: https://github.com/apache/couchdb-nano/issues/184#issuecomment-536959056
 
 
   Try expressing your regular expression as a string. Nano doesn't understand 
JavaScript regular expressions - it passes a regular expression _string_ to 
CouchDB for processing e.g.
   
   ````js
   selector: { name: {"$regex": "^cat" }}
   ```
   
   should find names beginning with "cat".

----------------------------------------------------------------
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