YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
DatabaseManager Class Reference

The DatabaseManager class. More...

#include <DatabaseManager.hpp>

Collaboration diagram for DatabaseManager:

Static Public Member Functions

static DatabaseManagerInstance ()
static void DebugQuery (const std::string &query, int modifiedRows)

Public Attributes

const TrackDao trackDao
const PlaylistDao playlistDao

Detailed Description

The DatabaseManager class.

Singleton
Has public class members, each one does specific SQL queries
The only reason for that is not to clutter this class
I don't catch almost all exceptions in this class and it's members.
If something will throw. it means it's a bug or DB problem that should be fixed.


The documentation for this class was generated from the following files: