ledger-core
|
#include <DatabaseEngine.hpp>
Public Member Functions | |
virtual std::shared_ptr< DatabaseConnectionPool > | connect (const std::string &databaseName)=0 |
virtual int32_t | getPoolSize ()=0 |
An interface to implement a custom SQL backend on host side instead of using a native backend.
|
pure virtual |
Open a connection to a database using the given database name. databaseName The name of the database to open
Implemented in MemoryDatabaseProxy.
|
pure virtual |
Get the maximum number of concurrent connection on a single database.
Implemented in MemoryDatabaseProxy.