Base data cache class, all data cache modules should extend it. Data blocks are described in detail in Data Blocks article.

Fields

hasParams:Bool

Does the database table have params column?

name:String

Module name. Set in constructor of child class.

paramsFormat:String

params column contents format. Can be json or haxe. json by default.

tableName:String

Database table name.

Methods

dynamic save (block:Block):String

Gets SQL query that will save this block into database. Should be overriden in case of custom-format blocks.

Returns:

SQL query string.