I wish to query a valid json placed in a column of type TEXT(not JSON).
E.g. I wish to something like that:
records = db_session.query(Resource).filter(
Resources.data["lastname"] == "Doe"
).all()
What should I do if the data column is of type TEXT?