Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class BaseQuery {
public @interface op {}
public String className;
public String whereKey;
public String whereValue;
public Object whereValue;
public @op String op;
public int requestId;
public List<String> fields = null;
Expand Down Expand Up @@ -120,6 +120,12 @@ public Builder where(String key, String value) {
return this;
}

public Builder where(String key, JSONObject value) {
this.baseQuery.whereKey = key;
this.baseQuery.whereValue = value;
return this;
}

public BaseQuery build(){
return baseQuery;
}
Expand Down