From 4c4a1de832ee07166b773e743150a8605ab1d611 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Mon, 10 Jul 2023 17:57:16 -0500 Subject: [PATCH] to_jsonb index no longer required on json/jsonb --- docs/references/api/tables_views.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/api/tables_views.rst b/docs/references/api/tables_views.rst index 5a8ca92e6..19f651d40 100644 --- a/docs/references/api/tables_views.rst +++ b/docs/references/api/tables_views.rst @@ -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()->'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()->'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