Fix SQL
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2023-07-17 16:47:42 +02:00
Ursprung 6c7c073320
Commit 5d5adb9828
Signiert von: Chaoscaot
GPG-Schlüssel-ID: BDF8FADD7D5EDB7A

Datei anzeigen

@ -36,9 +36,9 @@ public class Script {
private static final SelectStatement<Script> byId = table.select(Table.PRIMARY); private static final SelectStatement<Script> byId = table.select(Table.PRIMARY);
private static final SelectStatement<Script> byUserName = table.select("nameUser"); private static final SelectStatement<Script> byUserName = table.select("nameUser");
private static final SelectStatement<Script> byUser = table.selectFields("user"); private static final SelectStatement<Script> byUser = table.selectFields("userId");
private static final Statement insert = table.insertAll(); private static final Statement insert = table.insertFields("userId", "name", "code");
private static final Statement updateName = table.update(Table.PRIMARY, "name"); private static final Statement updateName = table.update(Table.PRIMARY, "name");
private static final Statement updateCode = table.update(Table.PRIMARY, "code"); private static final Statement updateCode = table.update(Table.PRIMARY, "code");
private static final Statement delete = table.delete(Table.PRIMARY); private static final Statement delete = table.delete(Table.PRIMARY);