D
Size: a a a
ЕБ
AJ
db.query("SELECT name, school_name, link, picture, rating FROM groups WHERE link = ?", [link])
.then(result =>
resolve(result)
).catch((error) => {
reject(error)
console.log(error, 'Promise error');
});
{ Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''groups' WHERE link = 'FUKCM66Tn1'' at line 1...
'SELECT name, school_name, link, picture, rating FROM \'groups\' WHERE link = \'FUKCM66Tn1\''
ЕБ
V
CM
А
А
А
А
k
t