On 11/9/2010 3:55 PM, Gunnlaugur Briem wrote:
select([
   func.ARRAY(
     select([t.c.value])
     .where(t.c.id<3)
     .as_scalar()
   )
   .label('array_col')
])

Thank you! That works swimmingly.

I now know why my search didn't turn up anything as it is evidently one of those "If the function name is unknown to SQLAlchemy, it will be rendered exactly as is."

Thanks,
Michael

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

Reply via email to