Fetched resultproxy objects have dictionary semantics, and most things that expect dictionaries will work fine with them. Make sure you've fetched all your results (via .fetchall()) before handing them off for processing.
Rick On 3/30/07, vinjvinj <[EMAIL PROTECTED]> wrote: > > > I'm putting the rows returned back from the db in a cache and that is > not supported by the ResultProxy object. I get the error: > > InterfaceError: not open > > Is there an easy way to convert the ResultProxy object back to a dict > which I can then put in a cache or get some form of ResultProxy object > which works in a non-connected way? > > Thanks, > > Vineet > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---