Untitled
unknown
plain_text
a year ago
231 B
7
Indexable
const updateProductName = async (id, name) => { const [product] = await connection.execute( 'UPDATE products SET name = ? WHERE id = ?', [name, id], ); return product; }; //module.exports = { updateProductName, };
Editor is loading...
Leave a Comment