Check for insert result in a for loop
Hi, I am not sure how to do this but I have a for loop that run
These are custom query so it's like
How can I check for error here?
insert for each iteration. I don't really need to get the data inserted but I am interested whether or not the entire loop ran smoothly or not. These are custom query so it's like
db.execute(sql.raw()) and I get back a postgres.RowList How can I check for error here?