> > > > 4) Since the events_x tables are already defined with > > declarative_base, is there a reasonable way to make an SQLAlchemy > > "Events" object that knows where to retrieve and insert event records > > based on the "event_type" field? > > > > Take a look at polymorphism, making the tables polymorphic on the event type. Doing some reading in the tutorials and this group should get you close to an answer.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
