]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Document SQLite "mixed binary" behavior
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Feb 2020 15:26:50 +0000 (10:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Feb 2020 15:29:10 +0000 (10:29 -0500)
commitcc3dc90b73c77dc6e8accd314ef10517344205c1
treecf8ee1682cb34936a07528c76cc4b7daa9481b72
parentd88cd57123d6c1f86810a7e10b9749b73eadde63
Document SQLite "mixed binary" behavior

The Pysqlite driver can store a string value with
or without an indicator that the value is to be retrieved
as bytes or as a unicode string object.    To suit the
use case where a SQLite database has mixed values on a row
by row basis, provide a recipe for a MixedBinary datatype.

Change-Id: I9a166bd6fc673d8d46a53ab9697cb3d412e5fcee
References: #5073
(cherry picked from commit ee1d914888113ceb9928ece6e0a715c813bdfcfa)
lib/sqlalchemy/dialects/sqlite/pysqlite.py