Editor in-memory cache.
inline clear ():Void
Clears cache values.
inline get (key:String):Dynamic
Returns cached value.
Parameters:
key
Key.
Returns:
Value.
inline getCount ():Int
Returns amount of values in cache.
Amount of values.
getQuery (q:String):List<Dynamic>
Executes SQL query, adds result into cache and returns it as list.
Note: If query result has params column, it will decode JSON encoded string that is contained inside.
params
q
SQL query.
SQL query result as a list.
inline put (key:String, value:Dynamic):Void
Adds value into cache.
value