mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Handle datetime.date and datetime.time
This commit is contained in:
parent
441c131db5
commit
7aab60d876
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ class Database:
|
|||
bytes.__class__: "BLOB",
|
||||
bytes: "BLOB",
|
||||
datetime.datetime: "TEXT",
|
||||
datetime.date: "TEXT",
|
||||
datetime.time: "TEXT",
|
||||
None.__class__: "TEXT",
|
||||
}
|
||||
columns_sql = ",\n".join(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue