Hey @piercefreeman ,
On of the features I found myself commonly using in sqlalchemy was the server_default and onupdate for Columns.
Proposal
class MyModel(TableBase):
id: UUID = Field(default=func.gen_random_uuid(), primary_key=True)
updated_at: datetime = Field(default=func.now(), onupdate=func.now())
Let me know your thoughts and if you want me to take a first pass at it.
Hey @piercefreeman ,
On of the features I found myself commonly using in
sqlalchemywas theserver_defaultandonupdateforColumns.Proposal
Let me know your thoughts and if you want me to take a first pass at it.