Skip to content

Commit

Permalink
Mark docs about DML SQL with version
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Dec 9, 2024
1 parent 0e8d801 commit 24954ec
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions docs/reference/sql_adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24954ec

Please sign in to comment.