This approach would be ideal, and would work with row-returning functions, etc. but obviously depends on some rather sophisticated cooperation with the dbapi. I don't think pymssql would be up to the task, although I think the ODBC-derived dbapis might work.
On Thu, Feb 14, 2008 at 12:11 PM, jason kirtland <[EMAIL PROTECTED]> wrote: > > Michael Bayer wrote: > > so, does somebody want to add "EXEC" to the is_select() regexp ? > > > > I think we should also add a flag to text() which allows this too, > > along the lines of "returns_results=True". > > There was some talk of trying to auto-detect resultsets with cursor > inspection. My recollection from poking at it was that results were > promising on most db-apis, but server-side cursors remained to be > tested. If that can't be 100% reliable then we would definitely need a > hinting flag. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---