Initial Development

- /cab remove complete
- /cab search etc complete
This commit is contained in:
BigPappa committed 2026-10-11 14:14:10 -05:00
1 parent 9611dacc96
commit f1ab19f003
7 files changed
+170 -105

No files matched your search

@@ -36,6 +36,18 @@ public final class StopManager {
}
}
public boolean delete(String name) throws SQLException {
String sql = "DELETE FROM stops WHERE name = ?";
try (PreparedStatement statement = connection()
.prepareStatement(sql)) {
statement.setString(1, name);
return statement.executeUpdate() == 1;
}
}
public boolean add(
String name,
String icon,