diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-28 13:29:23 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-04-08 14:13:51 -0400 |
commit | 952383f9ee04649282519b3287241c1336502fe5 (patch) | |
tree | daaab9c0bcd75631dcdcc30b1e388af454e92eff /lib/sqlalchemy/dialects/postgresql/_psycopg_common.py | |
parent | 4acf50c8e86b6b047853b2bc96ccaa494811085f (diff) | |
download | sqlalchemy-952383f9ee04649282519b3287241c1336502fe5.tar.gz |
implement iso date literals for all backends
Added modified ISO-8601 rendering (i.e. ISO-8601 with the T converted to a
space) when using ``literal_binds`` with the SQL compilers provided by the
PostgreSQL, MySQL, MariaDB, MSSQL, Oracle dialects. For Oracle, the ISO
format is wrapped inside of an appropriate TO_DATE() function call.
Previously this rendering was not implemented for dialect-specific
compilation.
Fixes: #5052
Change-Id: I7af15a51fedf5c5a8e76e645f7c3be997ece35f0
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/_psycopg_common.py')
0 files changed, 0 insertions, 0 deletions