Can not bulk_update object when it has the json
field with sqlite
#519
Labels
bug
Something isn't working
json
field with sqlite
#519
error:
sqlite3.InterfaceError: Error binding parameter 8 - probably unsupported type.
the real sql was
UPDATE item_config SET created_at=?, updated_at=?, sid=?, item_id=?, title=?, pic_url=?, on_sale_timestamp=?, hot=?, pairs=? WHERE item_config.id = ? !!!! [1641890802, 1641890802, '123', '1', 'test-1', '', 0, 0, ['2', '3'], 1]
the
pairs
is the json type.But
item.update(pairs=["1"])
can workThe text was updated successfully, but these errors were encountered: