Skip to content

Commit

Permalink
Fixed data type conversion in SQL statement
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTuxn committed Oct 22, 2021
1 parent 9276286 commit 4d86b2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public StatementBuilder(String sql) {
}

public StatementBuilder setValue(Object value) {
values.add(value);
values.add(value instanceof Boolean ? ((boolean) value ? 1 : 0) : value);
return this;
}

Expand Down

0 comments on commit 4d86b2d

Please sign in to comment.