Revision 3350
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
438 | 438 |
|
439 | 439 |
##### Conditions |
440 | 440 |
|
441 |
class NotCond(Code): |
|
442 |
def __init__(self, cond): |
|
443 |
self.cond = cond |
|
444 |
|
|
445 |
def to_str(self, db): return 'NOT '+self.cond.to_str(db) |
|
446 |
|
|
441 | 447 |
class ColValueCond(Code): |
442 | 448 |
def __init__(self, col, value): |
443 | 449 |
value = as_ValueCond(value) |
Also available in: Unified diff
sql_gen.py: Added NotCond