Models¶
🚧 In progress.
Will cover:
The shared
Baseand how to register a model sobootstrap_modelspicks it up.The entity model:
EntityType,EntityAlias, the master tables per domain (GeneMaster,ChemicalMaster,PathwayMaster, …).Relationships:
EntityRelationshipType,EntityRelationship, and how membership tables (e.g.DiseaseGroupMembership) tie back.The metadata tables:
IgemMetadata,SystemConfig,ETLSourceSystem,ETLDataSource.Working with sessions:
ge.db.get_session(), transactional patterns, when to use rawengine.connect().Where the
pgvectorembeddingcolumn lives and why it is hand-managed outside Alembic.