]> 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:14 +0000 (10:29 -0500)
commit7d6e8f7a6578a428f2c56ab12058b45620089f09
treeb8fefab8d408d594c74ef91ed400d9ef3c632217
parent5d1eb327e6755917d6dbdcdc44bc56b4c97eaf0d
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