Sweet.  This works :
 

> results = dbSession.execute(
>     TestClass.__table__\
>     .update()\
>     .values( kv = TestClass.__table__.c.kv + 
> sqlalchemy.dialects.postgresql.hstore(sqlalchemy.dialects.postgresql.array(['zz123',
>  
> 'zz123'])) )
>     )    
>
> stmt = select( [ TestClass.__table__.c.kv['a'] ] )
> print dbSession.execute(stmt).fetchall()
>
> stmt = select( [ TestClass.__table__.c.kv['a'] , 
> TestClass.__table__.c.kv['b'] ] )
> print dbSession.execute(stmt).fetchall()
>
>
Philip - does this help you at all ?  I used the ORM to access the 
connection and table data in the underlying engine.  
 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to