On Fri, Apr 10, 2009 at 04:45:45PM -0400, Michael Bayer wrote:
>
> warp wrote:
[snip]
> > I expected sqlalchemy would treat a type created the way I did above
> > more or less like an integer, because of the impl attribute.
[snip]
> the "Integer" detection should probably detect the "Integer" ness of the
> column, but for now you can just define the sequence explicitly:
>
> Column('mycolumn', MyType, Sequence('mycolumn_id_seq'), primary_key=True)
Awesome, this solves my problem. thanks again.
-- kuno.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---