Definition at line 12 of file conddbCopyTest.py.
def conddbCopyTest.DB.__init__ |
( |
|
self | ) |
|
def conddbCopyTest.DB.getLastInsertedSince |
( |
|
self, |
|
|
|
tag, |
|
|
|
snapshot |
|
) |
| |
Definition at line 22 of file conddbCopyTest.py.
23 db = sqlite3.connect(fileName)
25 cursor.execute(
'SELECT SINCE, INSERTION_TIME FROM IOV WHERE TAG_NAME =? AND INSERTION_TIME >? ORDER BY INSERTION_TIME DESC',(tag,snapshot))
26 row = cursor.fetchone()
def getLastInsertedSince(self, tag, snapshot)
def conddbCopyTest.DB.setSynchronizationType |
( |
|
self, |
|
|
|
tag, |
|
|
|
synchType |
|
) |
| |
Definition at line 16 of file conddbCopyTest.py.
17 db = sqlite3.connect(fileName)
19 cursor.execute(
'UPDATE TAG SET SYNCHRONIZATION =? WHERE NAME =?',(synchType,tag,))
def setSynchronizationType(self, tag, synchType)