CalculationGeometryLink
Association table linking geometries to a calculation.
Usage
CalculationGeometryLink()Attributes
| Name | Description |
|---|---|
| calculation | The linked CalculationRow. |
| calculation_id | Foreign key to the linked CalculationRow. |
| geometry | The linked GeometryRow. |
| geometry_id | Foreign key to the linked GeometryRow. |
| role | Role the GeometryRow plays for CalculationRow (input/output). |
calculation
The linked CalculationRow.
calculation: CalculationRow = Relationship(back_populates="geometry_links")
calculation_id
Foreign key to the linked CalculationRow.
calculation_id: uuid.UUID | None = _link_fk_field("calculation.id")
geometry
The linked GeometryRow.
geometry: GeometryRow = Relationship(back_populates="calculation_links")
geometry_id
Foreign key to the linked GeometryRow.
geometry_id: uuid.UUID | None = _link_fk_field("geometry.id")
role
Role the GeometryRow plays for CalculationRow (input/output).
role: Role = Field(sa_column=(_role_column()))