Remove unused disconnect
This commit is contained in:
parent
79d5d67b55
commit
214b84d0c5
1 changed files with 0 additions and 5 deletions
|
|
@ -51,11 +51,6 @@ public class Rethink {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void disconnect() {
|
|
||||||
conn.close();
|
|
||||||
System.out.println("DISCONNECTED");
|
|
||||||
}
|
|
||||||
|
|
||||||
private JSONArray getAsArray(String table, String where, String value) {
|
private JSONArray getAsArray(String table, String where, String value) {
|
||||||
try {
|
try {
|
||||||
String string = r.table(table).filter(row -> row.g(where.toLowerCase()).eq(value)).coerceTo("array").toJson().run(conn);
|
String string = r.table(table).filter(row -> row.g(where.toLowerCase()).eq(value)).coerceTo("array").toJson().run(conn);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue