Closed v1a0 closed 3 years ago
template: DBTemplateType = {
'xxx': {
'balance': [INTEGER, DEFAULT, 0],
}
}
db = SQLite3x(template=template)
TypeError: sequence item 2: expected str instance, int found
Passed only if value str
'balance': [INTEGER, DEFAULT, '0'],
Accepted since Sqllex version 0.1.6.5
Code:
error:
sqlite3.OperationalError: near "INTEGER": syntax error
because it's awaiting