Revision 2848
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
520 | 520 |
|
521 | 521 |
row_count = CustomCode('count(*)') |
522 | 522 |
|
523 |
def EnsureNotNull(value, null=r'\N'):
|
|
523 |
def EnsureNotNull(value, null): |
|
524 | 524 |
return FunctionCall(InternalFunction('coalesce'), as_Col(value), null) |
525 | 525 |
|
526 | 526 |
##### Table exprs |
Also available in: Unified diff
sql_gen.py: EnsureNotNull: Removed default value for null param to remind user that default value depends on value's type and will not always be a string