I'm trying to create this query with SQLAlchemy:
SELECT JSON_QUERY(json_field, '$.emails') FROM table
Where the field looks like:
{"emails": ["email1","email2"...]}
I've got something like:
session.query(func.json_query(json_field, '$.emails').all()
But it looks like json_query isn't in func.
Any help would be appreciated.