colrev.env.local_index_sqlite.SQLiteIndexRecord¶
- class SQLiteIndexRecord(*, reinitialize=False)[source]¶
Bases:
SQLiteIndex
The SQLiteIndexRecord class implements indexing and retrieval of records locally
Methods
Commit changes to the SQLITE database
Check if a record exists in the index
Get a record from the index
Insert a record into the index
Search for records in the index
Update a record in the index
Attributes
CREATE_TABLE_QUERY
GLOBAL_KEYS
INDEX_NAME
INSERT_QUERY
KEYS
SELECT_ALL_QUERY
SELECT_KEY_QUERIES
UPDATE_RECORD_QUERY
- commit()¶
Commit changes to the SQLITE database
- Return type:
None