Skip to main content

Module data

Module data 

Source

Functions§

clear_cognify_pipeline_status_for_data
Clear only the cognify_pipeline entry for dataset_id from a single Data record’s pipeline_status JSON. All other entries are preserved.
clear_pipeline_status_for_dataset
Clear pipeline_status JSON entries keyed by the given dataset_id from all Data records linked to that dataset via the dataset_data junction table.
count_data_dataset_links
create_data
delete_data
get_data
list_datasets_for_data
update_data
update_data_token_count
Update only the token_count column for a Data record.
update_last_accessed
Update last_accessed for a batch of Data records identified by their IDs.