sqlight generic fld change api
Change-Id: I1ff21da94bd61a3aecf2a54f0212cd3b88b5776e
[ROCm/rocprofiler commit: 6f0e4dbc61]
이 커밋은 다음에 포함됨:
1 부모
693ce472d0
커밋
1e99890c58
2 파일이 변경됨
+4
-2
검색과 일치하는 파일 없음
@@ -74,6 +74,8 @@ class SQLiteDB:
|
||||
self.connection.execute('UPDATE ' + table_name + ' SET Name = ? WHERE "Index" = ?', (rec_name, rec_id))
|
||||
def change_rec_tid(self, table_name, rec_id, tid):
|
||||
self.connection.execute('UPDATE ' + table_name + ' SET tid = ? WHERE "Index" = ?', (tid, rec_id))
|
||||
def change_rec_fld(self, table_name, fld_expr, rec_pat):
|
||||
self.connection.execute('UPDATE ' + table_name + ' SET ' + fld_expr + ' WHERE ' + rec_pat)
|
||||
|
||||
# populate DB table entry
|
||||
def insert_entry(self, table, val_list):
|
||||
|
||||
새 이슈에서 참조
사용자 차단