阅读背景:

优雅高效的方式插入很多表MySQL

来源:互联网 

I am making a survey and currently the database has 19 tables and roughly 100 columns. All of them will be inserted to as they are required fields. I am looking for an Elegant and Efficient way of inserting into that many tables and columns. So far what I have come up with is to create a multidimensional array that contains the first key as the table name and the second key as the column name with the field. Something like below:I am making a survey and currently the database




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: