my model entity contains an boolean property like
deleted = db.Column(db.Boolean, default=False)
after a model entity write to mysql, mysql schema the according delete column type is tinyint, so the property 'deleted' in mysql is 0 or 1.
while I read the value of my entity from mysql, the property 'deleted' can not serialized.
I want to learn more from you. thanks.
my model entity contains an boolean property like
deleted = db.Column(db.Boolean, default=False)after a model entity write to mysql, mysql schema the according delete column type is tinyint, so the property 'deleted' in mysql is 0 or 1.
while I read the value of my entity from mysql, the property 'deleted' can not serialized.
I want to learn more from you. thanks.