OGAHYK56XUYXXLLBRO5BPMBURNE673CQYGX4LBGLF5VWDY572B2AC
WZKS2NSIL7VST55EQ7QEF2YG2X3L2Y6W54AIG463ZRH462QR2NWQC
7CC5KHF4RWFFO4DG2DLKPIQDTOBODUPKQ4KZZDRAQQUFVDNC5MRQC
WYTMZJFYVKHR4QH7AV5JUNWXT6NAC5NNQNPZCQSDI6LGI7DVXFYAC
5FCMFAPUTCCO2JILRWLC4PHOSHYFCQNH3D7PKLA267MHVZADOX2AC
let shit;
await pool.query(query.slice(0, -1) + ` on conflict on constraint unique_menu_item do update set
shit = (await pool.query({text: query.slice(0, -1) + ` on conflict on constraint unique_menu_item do update set
(excluded.cbd, excluded.thc, excluded.price, excluded.stock, excluded.featured)
(excluded.cbd, excluded.thc, excluded.price, excluded.stock, excluded.featured) returning id
params );
params
);
values: params, rowMode: 'array' })).rows.flat();//risky: https://stackoverflow.com/questions/5439293
values: params,
rowMode: 'array'
})).rows.flat();//risky: https://stackoverflow.com/questions/5439293
response_ID: request_ID
response_ID: request_ID, data: shit
response_ID: request_ID,
data: shit