Some more tables and using views in query

This commit is contained in:
Imbus 2024-05-05 11:39:28 +02:00
parent 6554cb2b6f
commit 09765fdb24
2 changed files with 40 additions and 3 deletions

View file

@ -127,7 +127,7 @@ public class Database {
try {
Statement stmt = conn.createStatement();
StringBuilder query = new StringBuilder(
"SELECT cookie_name, status FROM pallets JOIN cookies ON pallets.cookie_id = cookies.cookie_id");
"SELECT cookie_name, status FROM pallets_view");
// r is validated here
if (r.isPresent()) {