v1.3.1 #411

Merged
greg6775 merged 14 commits from greg-dev into master 2020-03-22 00:38:40 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e74d464184 - Show all commits

View file

@ -76,7 +76,7 @@
<dependency> <dependency>
<groupId>com.rethinkdb</groupId> <groupId>com.rethinkdb</groupId>
<artifactId>rethinkdb-driver</artifactId> <artifactId>rethinkdb-driver</artifactId>
<version>2.4.1.1</version> <version>2.4.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>

View file

@ -72,8 +72,8 @@ public class Rethink {
else return null; else return null;
} }
public Object getByID(String table, String wherevalue, String column) { public Object getByID(String table, String where, String column) {
return r.table(table).get(wherevalue).getField(column).run(conn); return r.table(table).get(where).getField(column).run(conn);
} }
public JSONObject getObjectByID(String table, String id) { public JSONObject getObjectByID(String table, String id) {