Just for testing #181

Merged
Schlauer-Hax merged 1 commit from hax-dev into master 2019-12-08 22:06:05 +01:00

View file

@ -54,11 +54,11 @@ public class Rethink {
return new JSONArray();
}
private Object get(String table, String where, String value, String column) {
public Object get(String table, String where, String value, String column) {
return this.getAsArray(table, where, value).getJSONObject(0).get(column);
}
private String update(String table, String wherevalue, String what, String whatvalue) {
public String update(String table, String wherevalue, String what, String whatvalue) {
String out = "";
try {
Cursor cursor = r.table(table).get(wherevalue).update(r.hashMap(what, whatvalue)).run(conn);
@ -67,7 +67,7 @@ public class Rethink {
return out;
}
private String insert(String table, Object object) {
public String insert(String table, Object object) {
String out = "";
try {
Cursor cursor = r.table(table).insert(object).run(conn);