]> 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:26:50 +0000 (10:26 -0500)
commitee1d914888113ceb9928ece6e0a715c813bdfcfa
tree78469e9a5054d2bed2d6d27d102b117ffbad209c
parent226f25fdce33b1427807de7decc6e8d11f678c99
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
lib/sqlalchemy/dialects/sqlite/pysqlite.py