I’m having a hard time to analyze/learn this SQL ERROR, either TypeError: (intermediate value) is not iterable
SQL ERROR I’m trying to insert datas to my purchase_order table and purchase_order_item simultaneously, my problem is either, (intermediate value) is not iterable or getting the sql format error Please give me tips and advice, I’m new to coding aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa const { supplier_Id, order_date, items } = req.body; if ( !supplier_Id || !order_date || !items […]