|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2021-01-02 (1 month ago) ||Not yet rated by the users||Total: 66 This week: 25||All time: 9,799 This week: 8|
This class can cache database query prepared statements.
It extends the EasyDB database access cache to alter the way the prepared statements are processed to make it run faster.
On the first time the prepare function is called, it stores the results of the prepare function in a class variable.
Next time the prepare statement is run, it returns the values previous stored in the cache class variable.
|Prepared statements are used to execute SQL queries from template strings. Those templates have marks which will be replaced by query parameter values before the query is executed.
Using prepared statements adds some overhead to the time it takes to execute a query because the query template string needs to be parsed first before the parameter values are replaced.
This class implements prepared query caching, so it avoids the overhead of parsing the same prepared statement query every time it needs to execute the same query, even if it uses different parameter values.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.