Definition at line 13 of file conddbCopyTest.py.
◆ __init__()
def conddbCopyTest.DB.__init__ |
( |
|
self | ) |
|
◆ getLastInsertedSince()
def conddbCopyTest.DB.getLastInsertedSince |
( |
|
self, |
|
|
|
tag, |
|
|
|
snapshot |
|
) |
| |
Definition at line 23 of file conddbCopyTest.py.
23 def getLastInsertedSince( self, tag, snapshot ):
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()
◆ setSynchronizationType()
def conddbCopyTest.DB.setSynchronizationType |
( |
|
self, |
|
|
|
tag, |
|
|
|
synchType |
|
) |
| |
Definition at line 17 of file conddbCopyTest.py.
17 def setSynchronizationType( self, tag, synchType ):
18 db = sqlite3.connect(fileName)
20 cursor.execute(
'UPDATE TAG SET SYNCHRONIZATION =? WHERE NAME =?',(synchType,tag,))