sqlobject issue/question...
Diez B. Roggisch
deets at nospam.web.de
Sat Dec 29 07:37:29 EST 2007
bruce schrieb:
> hi....
>
> i'm playing around, researching sqlobject, and i notice that it appears to
> require the use of "id" in each tbl it handles in the database.
>
> if i already have a db schema, and it doesn't use 'id' as an auto-generated
> field, does that mean that i can't use/implement sqlobject.
>
> is there a way to overide this function/behavior...
ORMs are best used not to map, but to model the data-structures. If you
already have a schema and have to keep it, SQLAlchemy might be a better
choice.
Diez
More information about the Python-list
mailing list