Project

General

Profile

« Previous | Next » 

Revision 3483

sql_gen.py: Added RowType

View differences:

lib/sql_gen.py
416 416
    
417 417
    def to_Col(self): return Col(self.name)
418 418

  
419
class RowType(Code):
420
    def __init__(self, table):
421
        Code.__init__(self)
422
        
423
        self.table = table
424
    
425
    def to_str(self, db):
426
        return self.table.to_str(db)+'%ROWTYPE'
427

  
419 428
##### Functions
420 429

  
421 430
Function = Table

Also available in: Unified diff