Project

General

Profile

« Previous | Next » 

Revision 2479

sql.py: mk_select(): Columns: Separate columns with newlines

View differences:

lib/sql.py
486 486
    # Columns
487 487
    query += '\n'
488 488
    if fields == None: query += '*'
489
    else: query += ', '.join(map(parse_col, fields))
489
    else: query += '\n, '.join(map(parse_col, fields))
490 490
    
491 491
    # Main table
492 492
    query += '\nFROM '+table0.to_str(db)

Also available in: Unified diff