Is it possible to create JSON type Column in SQLite with sqlalchemy?
I've tried
import sqlalchemy.types as types
...
myColumn = Column(types.JSON())
and
from sqlalchemy import JSON
...
mycolumn = Column(JSON)
Both get error message:
Compiler can't render element of type
Wondering if there is any solution in sqlalchemy or I should just change into SQL instead. Thanks in advance.
[Updates] SQLite version 3.16.0
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…