I have created express API servers using document-based databases (like MongoDB). I want to try out using a MySQL database but I am just stumped on how someone would go about using SQL to output in JSON an array of objects
Similar to this:
[
{
data1: "datavalue1",
arr: [
"value1",
"value2",
"value3"
]
}
]