Re: TeraScript-Talk: Writing array back into MySQL DB

2019-10-16 Thread Peter Dobbs
This is a pretty important topic that you will want to gain some expertise in. In mysql you can create stored procedures. https://www.w3resource.com/mysql/mysql-procedure.php This will allow you to do much more powerful data manipulation than you can do with simple queries.

RE: TeraScript-Talk: Writing array back into MySQL DB

2019-10-16 Thread Robert Shubert
SQL only provides for updating a row or rows with one set of values. Assuming that you're revising your array with different values per row, there's no way to do this except to iterate the array and do an Update action per row. Inserting is a different situation, since INSERT's VALUES clause