On Jan 6, 2012, at 12:16 AM, Manav Goel wrote:
> Hello
>I noticed that in filter method I can use either
> and_(condition1,condition2)
> or
> condition1 and condition2
>
> But I searched and did not find any mention about second way anywhere.
>
> I want to know if both options are equal or there some catch in using second
> option.
hoping you mean "&" and not "and". There's a docstring for and_() and
variants here:
http://www.sqlalchemy.org/docs/core/expression_api.html?highlight=and_#sqlalchemy.sql.expression.and_
>
> Regards,
> Manav Goel
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To post to this group, send email to sqlalchemy@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 sqlalchemy@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.