Hi,

I'm reflecting some tables out of MySQL for a User object and when I
call:

user.ID

I get a value like this:

10L

instead of:

10

If I wrap it up like this:

int(user.ID)

I get:

10

It seems that the reflection thinks my int column is a long. Why is
that happening and how can I fix it? Abandon reflection?

Thanks,

Jon

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to