N
Size: a a a
N
PS
VV
db_default_init() {Кто-то может с ходу сказать что может идти не так? В консоле пишет синтаксическую ошибку
let creates = fs.readFileSync(path.join(__dirname, 'create_db.sql')).toString();
console.log(creates);
this.pool.execute(creates, (err, result) => {
if (err) {
throw err;
} else {
console.log('Query run successfully')
}
});
};
N
db_default_init() {Кто-то может с ходу сказать что может идти не так? В консоле пишет синтаксическую ошибку
let creates = fs.readFileSync(path.join(__dirname, 'create_db.sql')).toString();
console.log(creates);
this.pool.execute(creates, (err, result) => {
if (err) {
throw err;
} else {
console.log('Query run successfully')
}
});
};
I
N
db_default_init() {Кто-то может с ходу сказать что может идти не так? В консоле пишет синтаксическую ошибку
let creates = fs.readFileSync(path.join(__dirname, 'create_db.sql')).toString();
console.log(creates);
this.pool.execute(creates, (err, result) => {
if (err) {
throw err;
} else {
console.log('Query run successfully')
}
});
};
N
PS
db_default_init() {Кто-то может с ходу сказать что может идти не так? В консоле пишет синтаксическую ошибку
let creates = fs.readFileSync(path.join(__dirname, 'create_db.sql')).toString();
console.log(creates);
this.pool.execute(creates, (err, result) => {
if (err) {
throw err;
} else {
console.log('Query run successfully')
}
});
};
PS
VV
VV
I
N
I
VV
N
N
VV
I