From 24954ec8492caf4033d0e0b7ee0de9d3da13575d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alja=C5=BE=20Mur=20Er=C5=BEen?= Date: Mon, 9 Dec 2024 12:01:47 +0100 Subject: [PATCH] Mark docs about DML SQL with version --- docs/reference/sql_adapter.rst | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/reference/sql_adapter.rst b/docs/reference/sql_adapter.rst index a10960a466e..5dee0fd50dc 100644 --- a/docs/reference/sql_adapter.rst +++ b/docs/reference/sql_adapter.rst @@ -300,17 +300,20 @@ construct is mapped to PostgreSQL schema: - Aliases are not mapped to PostgreSQL schema. -- Globals are mapped to connection settings, prefixed with ``global``. - For example, a ``global default::username: str`` can be set using: - - .. code-block:: sql +.. versionchanged:: 6.0 - SET "global default::username" TO 'Tom'``. + - Globals are mapped to connection settings, prefixed with ``global``. + For example, a ``global default::username: str`` can be accessed using: -- Access policies are applied to object type tables when setting - ``apply_access_policies_pg`` is set to ``true``. + .. code-block:: sql -- Mutation rewrites and triggers are applied to all DML commands. + SET "global default::username" TO 'Tom'``; + SHOW "global default::username"; + + - Access policies are applied to object type tables when setting + ``apply_access_policies_pg`` is set to ``true``. + + - Mutation rewrites and triggers are applied to all DML commands. DML commands