[sqlalchemy] Re: can I specifiy a postgres bigint using declarative_base?

2009-08-04 Thread sim
To answer my own question; I imported - from sqlalchemy.databases.postgres import PGBigInteger and then used that inplace of Integer in my column declarations. Apart from loosing Database agnosticism is there anything wrong with doing this? I tested inserting, querying and it all appeared

[sqlalchemy] Re: can I specifiy a postgres bigint using declarative_base?

2009-08-04 Thread Michael Bayer
On Aug 4, 2009, at 8:23 PM, sim wrote: To answer my own question; I imported - from sqlalchemy.databases.postgres import PGBigInteger and then used that inplace of Integer in my column declarations. Apart from loosing Database agnosticism is there anything wrong with doing this? I