commit
2a15c34b72
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ public class Rethink {
|
|||
|
||||
public JSONObject getObjectByID(String table, String id) {
|
||||
String response = r.table(table).get(id).toJson().run(conn);
|
||||
System.out.println(response);
|
||||
return new JSONObject(response);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue