ALL objects can be saved to db now
This commit is contained in:
@ -77,7 +77,6 @@ void Park_time::update_db() {
|
||||
statement.insert(53, std::to_string(id));
|
||||
statement.insert(40, to_string(duration));
|
||||
statement.insert(27, to_string(start_to_int() + duration));
|
||||
std::cout << statement; // TODO: set some logging here
|
||||
data::db.exec(statement);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user