While not utilizing newer methods, this produced the desired effect:
query =
self.session.query(func.group_concat(TableA.name.op(',')(literal_column("'|'")))).\
join(TableB).\
filter(TableB.table_a_id == TableA.id).\
filter(TableB.col == some_val).\
one()
--
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.