Pike v8.1 release 6

Class Cache.Storage.MySQL

Inheritance graph
Cache.Storage.Base Cache.Storage.MySQL
Description

An SQL-based storage manager

This storage manager provides the means to save data to an SQL-based backend.

For now it's mysql only, dialectization will be added at a later time. Serialization should be taken care of by the low-level SQL drivers.

Note

An administrator is supposed to create the database and give the user enough privileges to write to it. It will be care of this driver to create the database tables itself.

Thanks

Thanks to Francesco Chemolli <kinkie@roxen.com> for the contribution.


Inherit Base

inherit Cache.Storage.Base : Base


Method create

Cache.Storage.MySQL Cache.Storage.MySQL(string sql_url)