Project

General

Profile

« Previous | Next » 

Revision 2848

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

View differences:

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