const query = format('INSERT INTO users (%1$I) VALUES (%2$L)', fields, values) values is an array containing number types but the format function called with the L parameter returns everything as a string. i.e. the format function is adding quotes (' ') around numeric types
const query = format('INSERT INTO users (%1$I) VALUES (%2$L)', fields, values)
values is an array containing number types but the format function called with the L parameter returns everything as a string.
i.e. the format function is adding quotes (' ') around numeric types