У меня есть код ниже для вставки значений в базу данных
db.one('INSERT INTO transactions (transaction_id) VALUES (a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11)')
.then(user => {
console.log(user.name); // print user name;
})
.catch(error => {
console.log(error, 'jjjjjjjjjjjj'); // print the error;
});
Я хочу вставить три поля
1) transaction_id
2) amount
3) currencies_currency_id
Но получаю ошибку
error: syntax error at or near "c0b"
Пожалуйста, помогите, что я делаю не так здесь