File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff 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+
365416Contribution
366417------------
367418
You can’t perform that action at this time.
0 commit comments