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"]. I tried > "select.compile().parameters", which returns None. > Any hints? > assuming youre using 0.3 youd have to call select.compile().construct_params({}). in 0.4 youre looking for the "params" collection, where there is no "parameters" attribute. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---