Skip to content

Commit

Permalink
Remove debug print statement in existsRow method
Browse files Browse the repository at this point in the history
Removed a debug print statement from the 'existsRow' method in the Table.java file to tidy up the code and enhance readability. This will prevent unnecessary console output during normal operations.
  • Loading branch information
Coho04 committed Feb 13, 2024
1 parent 0a6501d commit c3a41db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/de/goldendeveloper/mysql/entities/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ public boolean existsColumn(String name) {
public boolean existsRow(Column column, String item) {
String query = "SELECT EXISTS(SELECT * FROM `" + this.getName() + "` WHERE `" + column.getName() + "` = '" + item + "')";
Boolean exists = executeQuery(query, rs -> rs.getBoolean(1), mysql);
System.out.println("229: existsRow : " + exists );
return exists != null && exists;
}

Expand Down

0 comments on commit c3a41db

Please sign in to comment.