eugeneware / jsonquery-engine

A full MongoDB query language implementation with INDEXES for querying your levelup/leveldb database.
55 stars 5 forks source link

Error with regex queries #2

Open philippwiddra opened 10 years ago

philippwiddra commented 10 years ago

I get following error when trying to use a query with regular expression (like { name: /^A/ }).

Error: Cannot encode unknown type: /^test/

I do not use bytewise encoding for the keys, if this is neccessary it would be nice if you add it to the usage part in the readme.

So, long story short, i cannot perform regex queries when exactly using the example from the readme.