예제 #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
파일: tess.py 프로젝트: astrorafael/tessdb
 def __init__(self, pool, validate=False):
     Table.__init__(self, pool)
     self.resetCounters()
예제 #6
0
파일: date.py 프로젝트: astrorafael/tessdb
 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
파일: time.py 프로젝트: astrorafael/tessdb
 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)