colrev.env.local_index_sqlite.SQLiteIndexRecord
- class colrev.env.local_index_sqlite.SQLiteIndexRecord(*, reinitialize=False)[source]
Bases:
SQLiteIndexThe SQLiteIndexRecord class implements indexing and retrieval of records locally.
Initialize the instance.
Methods
commitCommit changes to the SQLITE database.
existsCheck if a record exists in the index.
getGet a record from the index.
insertInsert a record into the index.
searchSearch for records in the index.
updateUpdate a record in the index.
Attributes
CREATE_TABLE_QUERYGLOBAL_KEYSINDEX_NAMEINSERT_QUERYKEYSSELECT_ALL_QUERYSELECT_KEY_QUERIESUPDATE_RECORD_QUERYconnection- commit()
Commit changes to the SQLITE database.
- Return type:
None