Category "sqlmodel"

SqlModel datetime field is throwing error upon execution

I am using SQLModel in python 3.8 When I add my datetime field created_at: datetime = Field(default_factory=utcnow(), nullable=False) I get this Error File "./a

SQLModel: how to load specific columns?

I tried to load specific columns from a table via the following method: from sqlalchemy.orm import load_only from sqlmodel import (Field, Session, SQLModel, cre