diff options
Diffstat (limited to 'src/account-server/storage.hpp')
-rw-r--r-- | src/account-server/storage.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/account-server/storage.hpp b/src/account-server/storage.hpp index 0024fbc6..8651d20e 100644 --- a/src/account-server/storage.hpp +++ b/src/account-server/storage.hpp @@ -129,6 +129,11 @@ class Storage std::vector<Transaction> getTransactions(unsigned int num); std::vector<Transaction> getTransactions(time_t date); + /** + * Provides direct access to the database. Use with care! + */ + dal::DataProvider *database() const { return mDb; } + private: // Prevent copying Storage(const Storage &rhs); |