Most SQL languages support datetime, date, and time as different data types.
Nevertheless, SQLModel's expression.py supports only datetime type. Since you can also use date and other types in model building, you cannot get proper completion when using select() function and so on.
Therefore, I propose to add date and time types from datetime module.
Most SQL languages support datetime, date, and time as different data types. Nevertheless, SQLModel's expression.py supports only datetime type. Since you can also use date and other types in model building, you cannot get proper completion when using
select()
function and so on.Therefore, I propose to add date and time types from datetime module.