first version that creates event table
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -98,7 +98,7 @@ public class MariaDB implements Database {
|
||||
@Override
|
||||
public List<Appointment> list(Integer count, Integer offset) throws SQLException {
|
||||
var list = new ArrayList<Appointment>();
|
||||
var results = Query.of(SELECT_APPOINTMENTS).execute(connection);
|
||||
var results = Query.of(SELECT_APPOINTMENTS).orderBy("start").execute(connection);
|
||||
while (results.next()) {
|
||||
var id = results.getInt("aid");
|
||||
var title = results.getString("title");
|
||||
|
||||
Reference in New Issue
Block a user