Re: [sqlalchemy] Filtering on Postgresql BigInteger array

2013-04-16 Thread Michael Bayer
You need to use the cast() function here to do an explicit cast on the SQL side. array([cast(node.id, BigInteger)]). The type_ argument in most other cases only describes the type on the Python side. Sent from my iPhone On Apr 16, 2013, at 12:42 PM, Alexander Bachmeier

Re: [sqlalchemy] Filtering on Postgresql BigInteger array

2013-04-16 Thread Alexander Bachmeier
On Tuesday, April 16, 2013 6:58:15 PM UTC+2, Michael Bayer wrote: You need to use the cast() function here to do an explicit cast on the SQL side. array([cast(node.id, BigInteger)]). The type_ argument in most other cases only describes the type on the Python side. Thanks a lot, that