sqlmodel icon indicating copy to clipboard operation
sqlmodel copied to clipboard

Add type of _TScalar at expression.py.jinja2

Open NapoliN opened this issue 2 years ago • 0 comments

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.

NapoliN avatar Jan 09 '24 18:01 NapoliN