Answer the question
In order to leave comments, you need to log in
Why does the position of rows in a table column change when data is updated?
Good afternoon) Can you please tell me why when changing the data in the table, the changed line is overwritten at the end of the table and how this can be avoided, maybe I made the request incorrectly?
await db.query(`UPDATE resume set value = $1, type = $2 where id = $3 RETURNING *`, [value, type, id ])
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