Skip to main content

queries

Query layer over the per-table cache types.

bitfount.cache.types is decomposed by table: one package per record, each owning its own ORM, migrations and store. Some questions a consumer asks are about a concept that spans tables — a patient's eligibility for a trial, for instance, which is the analysis verdict (patient_eligibility) overridden by the site's own review (patient_reviews), resolved against the published trials_published_data_pointer.

Those questions live here, in sibling modules named for the concept rather than the table. The dependency runs one way: queries reads the types' schemas, models and stores; a type's store never imports another type, nor this package.

Module​

Submodules​