Closed void285 closed 5 years ago
Same error if True/False for boolean field in inserted values.
This is because that there is no boolean values and None
for sqlite. I will try to map True
to 1, False
to 0 and None
to NULL
.
I fixed it at 0.0.4.
However, with your original code, None
would be casted into NULL
, which will raise an exception since you defined column name
as not null
.
Hi, I encountered error in this code:
And, I once met with this error in a long and complicated insert, the inserted values have None in it, after replacement of None with empty string, the error disappeared. I have no idea about what may have caused it.