My understanding is that this is exactly what SQLModel adds on top of SQLAlchemy.
statement = select(Hero).where(Hero.age > 32).limit(3)
But I am only halfway through the tutorial so I might be wrong.
HN discussion of SQLModel here [1]
statement = select(Hero).where(Hero.age > 32).limit(3)
But I am only halfway through the tutorial so I might be wrong.
HN discussion of SQLModel here [1]