hello,
i've got a database with one table per country.
for example :
   part_es (for spain)
   part_uk (....)
   part_it

each tables have got the same schema
(id, libel, description, part_numer)
same __init__ method
same __repr__ method

is there an easy way to avoid code multiplication and simplify a new
country integration
inheritance way throw me away ...

if i've got somewhere the list of possible country, is there any way
too loop and add
to declarative_base  ?

dont' hit me for such dummy/newbie question

--~--~---------~--~----~------------~-------~--~----~
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