mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
Handle dict/tuple/list mapping to TEXT, closes #338
This commit is contained in:
parent
84007dffa8
commit
9cda5b070f
2 changed files with 29 additions and 0 deletions
|
|
@ -168,6 +168,8 @@ COLUMN_TYPE_MAPPING = {
|
|||
bool: "INTEGER",
|
||||
str: "TEXT",
|
||||
dict: "TEXT",
|
||||
tuple: "TEXT",
|
||||
list: "TEXT",
|
||||
bytes.__class__: "BLOB",
|
||||
bytes: "BLOB",
|
||||
memoryview: "BLOB",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue