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