[sqlalchemy] Re: How to dynamically create where-clauses

2007-08-10 Thread Dave Marsh
I haven't tried it with your specific example, but I'm pretty sure the theory should work just the same. The first thing you need to do is create a list of the clause objects. The other thing you'll need is a way to associate the input names with the column names (either make them the same or

[sqlalchemy] Re: Reverse Foreign Key

2007-08-07 Thread Dave Marsh
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

[sqlalchemy] Reverse Foreign Key

2007-08-06 Thread Dave Marsh
Hello, I have a medium sized python project that deals with SQLalchemy to talk to a database. The thing about this project is that it doesn't define a database layout itself. It is a project that you include in other projects to provide additional database functionality. One of the more