colrev.env.local_index_sqlite.SQLiteIndexTOC
- class colrev.env.local_index_sqlite.SQLiteIndexTOC(*, reinitialize=False)[source]
Bases:
SQLiteIndexThe SQLiteIndexTOC class implements indexing and retrieval of TOC items locally.
Initialize the instance.
Methods
addAdd TOC items to the index.
commitCommit changes to the SQLITE database.
existsCheck if TOC item exists in the index.
get_toc_itemsGet TOC items from the index.
Attributes
CREATE_TABLE_QUERYINDEX_NAMEINSERT_MANY_QUERYKEYSSELECT_ALL_QUERYSELECT_KEY_QUERYconnection- commit()
Commit changes to the SQLITE database.
- Return type:
None