Skip to content

Commit 271b894

Browse files
authored
Map dict to TEXT
Thanks, @minaeid90
1 parent bc4c42d commit 271b894

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlite_utils/db.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ class Default:
167167
int: "INTEGER",
168168
bool: "INTEGER",
169169
str: "TEXT",
170+
dict: "TEXT",
170171
bytes.__class__: "BLOB",
171172
bytes: "BLOB",
172173
memoryview: "BLOB",
@@ -185,6 +186,7 @@ class Default:
185186
"integer": "INTEGER",
186187
"float": "FLOAT",
187188
"blob": "BLOB",
189+
188190
}
189191
# If numpy is available, add more types
190192
if np:

0 commit comments

Comments
 (0)