Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit eb10fff

Browse files
authored
Update README.md
1 parent 8182fae commit eb10fff

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,57 @@ select '{"a": {"b": 1 } }'::jsonb @@ 'a.b = 1';
362362
(1 row)
363363
```
364364

365+
#### MongoDB operators supported by extension
366+
367+
Number of MongoDB query operators is limited by opportunities of
368+
JsQuery language, but main part is supported.
369+
370+
##### Comparison operators:
371+
* `$eq` - supported;
372+
* `$ne` - supported;
373+
* `$lt` - supported;
374+
* `$lte` - supported;
375+
* `$gt` - supported;
376+
* `$gte` - supported;
377+
* `$in` - supported;
378+
* `$nin` - supported.
379+
380+
##### Logical operators:
381+
* `$and` - supported;
382+
* `$or` - supported;
383+
* `$not` - supported;
384+
* `$nor` - supported.
385+
386+
##### Element operators:
387+
* `$exists` - supported;
388+
* `$type` - supported.
389+
390+
#### Evaluation operators:
391+
* `$mod` - not supported;
392+
* `$regex` - not supported;
393+
* `$text` - supported;
394+
* `$where` - not supported.
395+
396+
##### Bitwise operators:
397+
* All operators are not supported.
398+
399+
#### Array operators:
400+
* `$all` - supported;
401+
* `$elemMatch` - supported;
402+
* `$size` - supported.
403+
404+
##### Comment operators:
405+
* All operators are not supported.
406+
407+
##### Geospatial operators:
408+
* All operators are not supported.
409+
410+
##### Projextion operators:
411+
* All operators are not supported.
412+
413+
Examples of queries with all this operators you can find in the file
414+
[sql/jsquery.sql](https://github.com/postgrespro/jsquery/blob/master/sql/jsquery.sql)
415+
365416
Contribution
366417
------------
367418

0 commit comments

Comments
 (0)