colrev.env.local_index_sqlite.SQLiteIndexTOC¶
- class SQLiteIndexTOC(*, reinitialize=False)[source]¶
Bases:
SQLiteIndex
The SQLiteIndexTOC class implements indexing and retrieval of TOC items locally
Methods
Add TOC items to the index
Commit changes to the SQLITE database
Check if TOC item exists in the index
Get TOC items from the index
Attributes
CREATE_TABLE_QUERY
INDEX_NAME
INSERT_MANY_QUERY
KEYS
SELECT_ALL_QUERY
SELECT_KEY_QUERY
- commit()¶
Commit changes to the SQLITE database
- Return type:
None