Cleaned up the SelectionQuery
This commit is contained in:
parent
65f8f12077
commit
81aaf4a0bf
@ -52,7 +52,7 @@ public class SelectionQuery extends AbstractQuery {
|
|||||||
if (i == 0) whereString.append("WHERE");
|
if (i == 0) whereString.append("WHERE");
|
||||||
else whereString.append("AND");
|
else whereString.append("AND");
|
||||||
|
|
||||||
whereString.append("`"+whereList.keySet().toArray()[i]+"`").append("=").append("?");
|
whereString.append("`" + whereList.keySet().toArray()[i] + "`").append("=").append("?");
|
||||||
}
|
}
|
||||||
|
|
||||||
return whereString.toString();
|
return whereString.toString();
|
||||||
@ -60,6 +60,7 @@ public class SelectionQuery extends AbstractQuery {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the parameters
|
* Gets the parameters
|
||||||
|
*
|
||||||
* @return the parameters
|
* @return the parameters
|
||||||
*/
|
*/
|
||||||
public Object[] getParameters() {
|
public Object[] getParameters() {
|
||||||
|
Reference in New Issue
Block a user