Project

General

Profile

« Previous | Next » 

Revision 2852

sql_gen.py: null_sentinels: Added value for boolean type

View differences:

sql_gen.py
524 524
row_count = CustomCode('count(*)')
525 525

  
526 526
# See <http://www.postgresql.org/docs/8.3/static/datatype-numeric.html>
527
null_sentinels = {'text': r'\N', 'integer': 2147483647}
527
null_sentinels = {'boolean': False, 'integer': 2147483647, 'text': r'\N'}
528 528

  
529 529
class EnsureNotNull(FunctionCall):
530 530
    def __init__(self, value, type_):

Also available in: Unified diff