File: |
Multidim.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
source file |
Class: |
Multidim
Manipulate multidimensional arrays in MySQL tables |
Author: |
By troy knapp |
Last change: |
-added an optimize feature (captures sql statement and runs it all at once using mysqli_multi_query). During testing I found that when the MySQL server is under significant load, this can speed up insert times by several magnitudes. It's still not as fast as adding a variable to an array, but it can be faster. In times when there wasn't much database strain, I found this to be only slightly faster with only minor speed increases.
-added the ability to create decimal columns so that you can sort numbers properly without having to pad them
-added reset query feature
-added a save and restore feature (mdsave), allowing the user to save the current state of the object in an array, and open it back up elsewhere just as if nothing had happened. This feature does not reproduce the table, it just rather links the new object to the previous table. |
Date: |
13 years ago |
Size: |
33,339 bytes |
|
|
|