On Aug 10, 1:04 pm, Grzegorz Adam Hankiewicz
<[EMAIL PROTECTED]> wrote:
> Cool. In the unit test you provide the version_id_col parameter is
> specified manually. Does SQLAlchemy do automatic reflection on the table
> and use a version_id column if it already exists, without having to
> specify it on the code?

telling the mapper which column you'd like to be the "versioning"
column, if any, is always a manual on mapper().  SQLAlchemy never
assumes anything based on naming conventions, unless required by a
specific database implementation (such as PG's naming of
<tablename>_id_seq for SERIAL sequences).


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to