Revision 2854
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/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 = {'boolean': False, 'integer': 2147483647, 'text': r'\N'} |
|
527 |
null_sentinels = {'USER-DEFINED': None, 'boolean': False, 'integer': 2147483647, |
|
528 |
'text': r'\N'} |
|
528 | 529 |
|
529 | 530 |
class EnsureNotNull(FunctionCall): |
530 | 531 |
def __init__(self, value, type_): |
Also available in: Unified diff
sql_gen.py: null_sentinels: Added value for USER-DEFINED type