We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 008adb4 commit 7978c63Copy full SHA for 7978c63
1 file changed
src/main/java/me/mrnavastar/sqlib/impl/SQLConnection.java
@@ -71,6 +71,8 @@ public boolean rowExists(DataStore store, int id) {
71
public List<Integer> findRows(DataStore store, String field, Object value) {
72
try (Handle h = sql.open()) {
73
return h.select("SELECT SQLIB_AUTO_ID FROM %s WHERE _%s = ?".formatted(store.toString(), field), value).mapTo(Integer.class).list();
74
+ } catch(Exception ignore) {
75
+ return new ArrayList<>();
76
}
77
78
0 commit comments