Database

Represent database layer

Constructors

this
this(ILogger logger, AppConfig appConfig)

Construct object from ILogger and configuration file.

Members

Functions

createCache
void createCache()

allocate shared cache

dropcaches
void dropcaches(string method)

Drop caches if needed

finalize
void finalize()

TODO: docs here

loadJsonSqlTable
void loadJsonSqlTable()

Loads main table from database

needAuth
bool needAuth(string method)
query
RpcResponse query(RpcRequest req)

Queries parsed request from async pool <br>

setupPool
void setupPool()

configures async pool

Meta

Authors

Zaramzan <shamyan.roman@gmail.com>