Closed sbscan closed 1 year ago
Even the fallowing sample query is not working, error is: Column count doesn't match value count at row 1
await connection.query( { namedPlaceholders: true, sql: 'INSERT INTO someTable VALUES (:id, :img, :db)' }, { id: 1, img: Buffer.from('c327a97374', 'hex'), db: 'mariadb' } );
my bad, pls delete
Even the fallowing sample query is not working, error is: Column count doesn't match value count at row 1
await connection.query( { namedPlaceholders: true, sql: 'INSERT INTO someTable VALUES (:id, :img, :db)' }, { id: 1, img: Buffer.from('c327a97374', 'hex'), db: 'mariadb' } );