to_jsonb index no longer required on json/jsonb
This commit is contained in:
committed by
Steve Chavez
parent
a6aa2adf04
commit
4c4a1de832
@@ -449,7 +449,7 @@ The arrow operators(``->``, ``->>``) can also be used for accessing composite fi
|
||||
|
||||
.. important::
|
||||
|
||||
When using the ``->`` and ``->>`` operators, PostgREST uses a query like ``to_jsonb(<col>)->'field'``. To make filtering and ordering on those nested fields use an index, the index needs to be created on the same expression, including the ``to_jsonb(...)`` call:
|
||||
When using the ``->`` and ``->>`` operators on composite and array columns, PostgREST uses a query like ``to_jsonb(<col>)->'field'``. To make filtering and ordering on those nested fields use an index, the index needs to be created on the same expression, including the ``to_jsonb(...)`` call:
|
||||
|
||||
.. code-block:: postgres
|
||||
|
||||
|
||||
Reference in New Issue
Block a user