示例#1
0
 def __init__(self, pool):
     '''Create and populate the SQLite Units Table'''
     Table.__init__(self, pool)
     # Cached row ids
     self._id = {}
     self._id['Publisher']  = None
     self._id['Subscriber'] = None
示例#2
0
 def __init__(self, connection):
     '''Create and populate the SQLite Units Table'''
     Table.__init__(self, connection)
     # Cached row ids
     self._id = {}
     self._id['Publisher'] = None
     self._id['Subscriber'] = None
示例#3
0
    def __init__(self, connection, parent):
        '''Create the SQLite TESS Readings table'''

        Table.__init__(self, connection)
        self.parent = parent
        self.setOptions(auth_filter=True)
        self.resetCounters()
示例#4
0
 def __init__(self, connection, secs_resol):
     '''Create and Populate the SQlite Time of Day Table'''
     Table.__init__(self, connection)
     self.secs_resol = secs_resol
     self.ONE = datetime.timedelta(seconds=secs_resol)
示例#5
0
 def __init__(self, pool, validate=False):
     Table.__init__(self, pool)
     self.resetCounters()
示例#6
0
 def __init__(self, pool):
     '''Create and Populate the SQLite Date Table'''
     Table.__init__(self, pool)
示例#7
0
 def __init__(self, connection, validate=False):
     Table.__init__(self, connection)
     self.resetCounters()
示例#8
0
 def __init__(self, connection):
     '''Create and Populate the SQLite Date Table'''
     Table.__init__(self, connection)
示例#9
0
 def __init__(self, connection):
     '''Create and populate the SQLite Location Table'''
     Table.__init__(self, connection)
示例#10
0
 def __init__(self, pool, parent):
     '''Create the SQLite TESS Readings table'''
     Table.__init__(self, pool)
     self.parent = parent
     self.setOptions(location_filter=True)
     self.resetCounters()
示例#11
0
 def __init__(self, pool):
     '''Create and populate the SQLite Location Table'''
     Table.__init__(self, pool)
示例#12
0
 def __init__(self, pool, secs_resol):
     '''Create and Populate the SQlite Time of Day Table'''
     Table.__init__(self, pool)
     self.secs_resol = secs_resol
     self.ONE        = datetime.timedelta(seconds=secs_resol)