Closed gduverger closed 4 years ago
Yes i have a similar problem. I need to set microseconds. In sqlalchemy it would be fsp=6 or something
You can create columns explicitly if you wish to set a very specific type:
from sqlalchemy.types import DateTime
table = db['my_new_table']
table.create_column('date', DateTime(timezone=True))
See also the SQLA type documentation: https://docs.sqlalchemy.org/en/13/core/type_basics.html
When I insert an aware datetime, Dataset creates a
timestamp **without** time zone
field for it.Is there a way to make that field
timestamp **with** time zone
, instead? Otherwise, what's the recommended way to handle timezones with Dataset?