Project

General

Profile

« Previous | Next » 

Revision 2991

sql_gen.py: Table: Store whether table is temp table

View differences:

lib/sql_gen.py
132 132
##### Tables
133 133

  
134 134
class Table(Derived):
135
    def __init__(self, name, schema=None, srcs=()):
135
    def __init__(self, name, schema=None, srcs=(), is_temp=False):
136 136
        '''
137 137
        @param schema str|None (for no schema)
138 138
        @param srcs (Table...)|src_self See Derived.set_srcs()
......
143 143
        
144 144
        self.name = name
145 145
        self.schema = schema
146
        self.is_temp = is_temp
146 147
    
147 148
    def to_str(self, db):
148 149
        str_ = ''

Also available in: Unified diff