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