Skip to content

Commit

Permalink
Fixed QueryConstrains#contains
Browse files Browse the repository at this point in the history
  • Loading branch information
Voinea-Radu committed Dec 14, 2022
1 parent 25826e6 commit 74ea1e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.lightdream</groupId>
<artifactId>DatabaseManager</artifactId>
<version>3.9.0</version>
<version>3.9.1</version>

<distributionManagement>
<repository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public QueryConstrains smallerOrEquals(String field, double value) {

@SuppressWarnings("unused")
public QueryConstrains contains(String field, String value) {
query = field + " LIKE %" + value + "%";
query = field + " LIKE '%" + value + "%'";
return this;
}

Expand Down

0 comments on commit 74ea1e2

Please sign in to comment.