public Builder whereParams(String... params){
if(params!=null&¶ms.length==0){
this.params = new ArrayList();
Collections.addAll(this.params, params);
}
return this;
}
It looks like the second line should read params.length != 0 instead of params.length == 0, as the current implementation does not work when using where parameters.
The whereParams function in BaasQuery.java has:
public Builder whereParams(String... params){ if(params!=null&¶ms.length==0){ this.params = new ArrayList();
Collections.addAll(this.params, params);
}
return this;
}
It looks like the second line should read params.length != 0 instead of params.length == 0, as the current implementation does not work when using where parameters.