PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.
After using .isin() or .notin() on a simple SELECT Query, the object gets changed to a ContainsCriterion object. Is this inteded behavior? If so, how do I add things to the query after that?
After using
.isin()
or.notin()
on a simple SELECT Query, the object gets changed to aContainsCriterion
object. Is this inteded behavior? If so, how do I add things to the query after that?Example:
After the second line I can't change the query anymore. The third line will fail with
ContainsCriterion
has no attribute 'join'.Thanks for any input!