[sqlalchemy] Re: Getting a list of parameters from a select object

2007-11-29 Thread Samuel
On Nov 29, 4:49 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > assuming youre using 0.3 youd have to call > select.compile().construct_params({}). The method doesn't exist (at least not in the MySQL engine I am using (with sqlalchemy 0.3)), but while looking for the correct name I found that req

[sqlalchemy] Re: Getting a list of parameters from a select object

2007-11-29 Thread Michael Bayer
On Nov 29, 2007, at 10:31 AM, Samuel wrote: > > Hi, > > I am trying to get a list of parameters from a Select object. In other > words, given the following code: > > select = table.select(or_(table.c.id == "10", table.c.name == "test")) > > I am trying to get the following list: ["10", "test"].