samuelcolvin / buildpg

Query building for the postgresql prepared statements and asyncpg.
MIT License
85 stars 12 forks source link

partial logic #2

Closed samuelcolvin closed 5 years ago

samuelcolvin commented 6 years ago

easy way to extend existing where clause.

samuelcolvin commented 5 years ago

Via an Empty object with can then be operated on.

So Empty & (V('foo') == 4) would give and foo=4