Downgrade again :(
This commit is contained in:
parent
8413d0d661
commit
e74d464184
2 changed files with 3 additions and 3 deletions
2
pom.xml
2
pom.xml
|
|
@ -76,7 +76,7 @@
|
|||
<dependency>
|
||||
<groupId>com.rethinkdb</groupId>
|
||||
<artifactId>rethinkdb-driver</artifactId>
|
||||
<version>2.4.1.1</version>
|
||||
<version>2.4.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ public class Rethink {
|
|||
else return null;
|
||||
}
|
||||
|
||||
public Object getByID(String table, String wherevalue, String column) {
|
||||
return r.table(table).get(wherevalue).getField(column).run(conn);
|
||||
public Object getByID(String table, String where, String column) {
|
||||
return r.table(table).get(where).getField(column).run(conn);
|
||||
}
|
||||
|
||||
public JSONObject getObjectByID(String table, String id) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue