Answer the question
In order to leave comments, you need to log in
How to display the output to the console of a "raw" mysql query when querying?
I am using nodejs and sequelize, mysql dialect. There is a request:
let uuid_person = uuid();
try {
let person = await db.person.findOrCreate({
where: {
sirname: sirname,
name: name,
},
default:{
uuid: uuid_person,
middlename: middlename,
iin: iin,
sex: sex,
birthday: brthd,
actuality: '1'
}
})
}catch(e){
console.log(e)
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question