| 211 | |
| 212 | |
| 213 | class OrmTest(Base): |
| 214 | __tablename__ = "sa_orm_test" |
| 215 | id: Mapped[int] = mapped_column(Integer, primary_key=True) |
| 216 | name: Mapped[str] = mapped_column(String) |
| 217 | value: Mapped[float] = mapped_column(Double) |
| 218 | |
| 219 | |
| 220 | def test_orm(r): |