Yes, that is what I am looking for. Thanks On Aug 6, 6:25 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > On Aug 6, 1:38 pm, Dave Marsh <[EMAIL PROTECTED]> > wrote: > > > > > Currently, the solution is to query the database every time the > > page is reloaded so that the widget stays current. I would like to > > convert to an event driven system (re-populate the widgets only when > > necessary) but have hit a snag. In order to update the correct > > widgets, I would need to create a list of tables that rely on the > > table being added to/updated/deleted from. I played around with the > > column objects but was unable to find a way to do what I needed. > > hi dave - > > its a little unclear to me what you're looking for exactly. Is it > that you'd like to determine, given a Table, what other Tables are > dependent on it via foreign keys ? An iterative approach through the > MetaData object can be used to work up a dictionary of this > information, if that's what you're looking for. > > - mike
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---