]> 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:17 +0000 (10:29 -0500)
commitcc6510bc4677fe54aada005763b5fc42f0c6db7b
tree758d9a795104d2ee1e0c471cb3a01fd31e43ae31
parenta9a0d5defd984b8bb65d8a115a3d5ac6306dd32a
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