-
Notifications
You must be signed in to change notification settings - Fork 0
Paster Commands
The plugin also comes with two paster commands that can be executed via the CLI. All you need to do is to activate your CKAN's virtual environment.
create_schema
paster --plugin=ckanext-mongodatastore querystore create_schema --config [PATH TO YOUR CONFIG]
This command generates the table, that is used for storing query metadata (timestamp, query hash, result hash, etc.)
check_integrity
paster --plugin=ckanext-mongodatastore querystore check_integrity --config [PATH TO YOUR CONFIG]
This command reexecutes every query, that is stored in the querystore and checks if the stored hash values still match the retrieved results from the MongoDB
!!Pleas be aware, that this command can take some time, depending on the number of queries, that are already stored in the querystore!!
Florian Wörister | ORCID: 0000-0003-4967-8595 | florian.woerister[at]tuwien.ac.at | TU Wien