[RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password: undefined" Random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null}]
nodejs+mysql query to get the structural data as above. I found some ways to convert to json or objec, but what I want to ask here is, purely from the syntax of JavaScript, is this a legal array? That is, is
RowDataPacket {name: "zhang3", password:" undefined", random: null}
a legal object?
Thank you for your advice.