Skip to content

Commit cf779fc

Browse files
Added getBoolean method to query result
1 parent 1d0c753 commit cf779fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/net/escosoft/mysqlwrapper/QueryResult.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ public byte getByte(TableColumn column) {
6868
return this.get(column, byte.class);
6969
}
7070

71+
public boolean getBoolean(TableColumn column) {
72+
return this.get(column, boolean.class);
73+
}
74+
7175
public Timestamp getTimestamp(TableColumn column) {
7276
return this.get(column, Timestamp.class);
7377
}

0 commit comments

Comments
 (0)