you want to use literal_column('"coucou"') to achieve that effect, or if a bind is OK then just use literal("coucou").
On Dec 9, 2010, at 8:30 AM, Christian Démolis wrote: > Hi, > > SELECT IdActe, "coucou" > FROM `acte` > WHERE 1 > > How to attach a string to each result of a query ? > > i try that but it doesn't work :( > s = model.session.query(milieu, model.Dossier.NomEntreprise, > model.Dossier.AgendaSensGroupement, model.Dossier.AgendaUnite, "Coucou") > > Thx > Chris > > -- > 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. -- 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.