can you be more specific by "returns a tuple" - the rows returned by 
ResultProxy are always RowProxy objects which are always addressable by string 
names.   the names here might not be matching up, but that's a different issue.


On Apr 18, 2013, at 5:52 PM, John Anderson <son...@gmail.com> wrote:

> Hey, we have a lot of stored procedures that use out params like:
> 
> CREATE PROCEDURE create_stuff
>    @value INT,
>    @id INT OUTPUT
> AS
> BEGIN
>    INSERT into stuff ...
> 
>    SET @id = @@Identity
> END
> 
> 
> and when we rows = DBSession.execute() we reference these outparams via 
> row['@id'] and this is fine in 0.7.6  but in 0.8 it returns a tuple instead 
> and the values have to be referenced via their index in the results.   
> 
> I didn't see anything in the changelog referencing the switch so was 
> wondering if this was a bug or if it is intentional.. 
> 
> Thanks!
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to