[Sqlalchemy-tickets] Issue #3660: to_list does not have a special case for `bytes` (zzzeek/sqlalche
Brought to you by:
zzzeek
From: Antti H. <iss...@bi...> - 2016-02-21 20:34:21
|
New issue 3660: to_list does not have a special case for `bytes` https://bitbucket.org/zzzeek/sqlalchemy/issues/3660/to_list-does-not-have-a-special-case-for Antti Haapala: I'm using bytea (16 byte md5 digest) in PostgreSQL as a primary key. Unfortunately `to_list` which is used for example by `_get_impl` does not have a special case for `bytes` and thus `get()` complains about "Incorrect number of values in identifier to formulate primary key for query.get(); primary key columns are 'file.id'" |