Manlio Perillo wrote: > > However, now I'm not sure to understand the example here: > http://www.sqlalchemy.org/docs/reference/sqlalchemy/expressions.html?highlight=exists#sqlalchemy.sql.expression.exists > > # use on an existing select() > s = select([table.c.col1]).where(table.c.col2==5) > s = exists(s)
wow, look at that. I'm glad exists() accepts that, since it seemed awkward that one would be required to say exists([someselect]). your call to as_scalar() was throwing it off. It is accepted in the same way now as a plain select() in r6702. > > > > Regards Manlio > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkth+0EACgkQscQJ24LbaUTf0QCfTWwPMRvTYMAH7R/mU2CCb2fQ > DaYAn0EoxWUCkFv8e/omK0A+tx8MY2S0 > =i3I0 > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
