Revision 3486
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
779 | 779 |
return query |
780 | 780 |
|
781 | 781 |
return_type = 'unknown' |
782 |
if returning != None: return_type = returning.to_str(db)+'%TYPE'
|
|
782 |
if returning != None: return_type = sql_gen.ColType(returning).to_str(db)
|
|
783 | 783 |
|
784 | 784 |
if ignore: |
785 | 785 |
# Always return something to set the correct rowcount |
Also available in: Unified diff
Use sql_gen.ColType where %TYPE was previously manually appended