We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2046f74 commit c945847Copy full SHA for c945847
1 file changed
README.rst
@@ -71,6 +71,20 @@ In addition for conditionals the values ``IsNull`` (or
71
``RewritingValue.IS_NOT_NULL``) can be used to rewrite the conditional
72
as expected. This is useful as ``x = NULL`` is always false in SQL.
73
74
+Paramstyle (dialect)
75
+--------------------
76
+
77
+By default SQL-tString uses the ``qmark`` `paramstyle
78
+<https://peps.python.org/pep-0249/#paramstyle>`_ (dialect) but also
79
+supports the ``$`` paramstyle or asyncpg dialect. This is best changed
80
+globally via,
81
82
+.. code-block:: python
83
84
+ from sql_tstring import Context, set_context
85
86
+ set_context(Context(dialect="asyncpg"))
87
88
Pre Python 3.14 usage
89
---------------------
90
0 commit comments