update docs (#498)

update docs (close #474, close #480)
This commit is contained in:
Shahidh K Muhammed 2018-09-20 15:21:27 +05:30 committed by GitHub
parent 04696aec45
commit ae43a08afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ Operator
Generic operators (all column types except json, jsonb) :
- ``_eq``
- ``_ne``
- ``_neq``
- ``_in``
- ``_nin``
- ``_gt``
@ -168,14 +168,25 @@ Generic operators (all column types except json, jsonb) :
- ``_gte``
- ``_lte``
Operators for comparing columns (all column types except json, jsonb):
JSONB operators:
- ``_ceq``
- ``_cneq``
- ``_cgt``
- ``_clt``
- ``_cgte``
- ``_cnlte``
.. list-table::
:header-rows: 1
* - Operator
- PostgreSQL equivalent
* - ``_contains``
- ``@>``
* - ``_contained_in``
- ``<@``
* - ``_has_key``
- ``?``
* - ``_has_keys_any``
- ``?|``
* - ``_has_keys_all``
- ``?&``
(For more details on what these operators do, refer `Postgres docs <https://www.postgresql.org/docs/current/static/functions-json.html#FUNCTIONS-JSONB-OP-TABLE>`_.)
Text related operators :
@ -190,6 +201,7 @@ Checking for ``null`` values :
- ``_is_null`` (takes true/false as values)
.. _OrderByExp:
OrderByExp