]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Revise "literal parameters" FAQ section
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 1 Nov 2021 16:06:32 +0000 (12:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 1 Nov 2021 16:16:44 +0000 (12:16 -0400)
commite760e0e1fe229766734abde6b438d75320bdac48
treeb1bf6f9997a6e2ef72f4778081cc0a00f4fd19f6
parent618a36502354469b8196da400596f3fefaacf8ea
Revise "literal parameters" FAQ section

based on feedback in #7271, the emphasis on TypeDecorator
as a solution to this problem is not very practical.  illustrate
a series of quick recipes that are useful for debugging purposes
to print out a repr() or simple stringify of a parameter
without the need to construct custom dialects or types.

Change-Id: I788ce1b5ea01d88dd0a22d03d06f35aabff5e5c8
(cherry picked from commit b2a28c556f10ee31605c978173f0cce62175ad61)
doc/build/faq/sqlexpressions.rst
lib/sqlalchemy/sql/compiler.py