10 #ifndef YATISHDBMYSQL_H 11 #define YATISHDBMYSQL_H 13 #include <wx/listctrl.h> 49 #endif // YATISHDBMYSQL_H
bool EmptySlaveTables()
Empties all yatish tables in slaveDB.
bool Delete()
Takes care of DELETEs in yatish tables.
Interacts with yatish tables in a MySQL/MariaDB database.
bool DownloadActivity()
Downloads yatish_activity.
bool DownloadProject()
Downloads yatish_project.
int Download()
Downloads slaveDB into masterDB.
bool UpdateTimeslot()
Takes care of UPDATEs in yatish_timeslot.
yatishDBmysql()
Mainly connects to the MySQL database specified in yatish.auth
bool InsertActivity()
Takes care of INSERTs in yatish_activity.
bool OutdateMasterTables()
Sets the sync field to 'I' in all records of all yatish tables in masterDB.
bool Update()
Takes care of UPDATEs in yatish tables with a single name column.
bool InsertProject()
Takes care of INSERTs in yatish_project.
bool EmptyMasterTables()
Empties all yatish tables in masterDB.
bool UpdateProject()
Takes care of UPDATEs in yatish_project.
int Upload()
Uploads masterDB into slaveDB.
static wxDatabase * slaveDB
bool DownloadNames()
Downloads yatish tables with a single name column.
bool UpdateActivity()
Takes care of UPDATEs in yatish_activity.
int Commit()
Updates slaveDB with records of masterDB where the sync field is not 'S'.
bool Insert()
Takes care of INSERTs in yatish tables with a single name column.
bool NewTables()
Creates the yatish tables.
bool InsertTimeslot()
Takes care of INSERTs in yatish_timeslot.
Provides a few basic methods and (static) members to interact with yatish tables. ...
bool DownloadTimeslot()
Download yatish_timeslot.