Categories
Is it possible to configure select in the database to return data as json, and not an array as usual?
Actually in issue the line is necessary.
Answer the question
In order to leave comments, you need to log in
SELECT JSON_OBJECT(name, value, name, value) as jsonData FROM table ...
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question