Can anyone help how to use "whereCondition" in get method for offline sync(Javascript). We tried using the following code (Please check in details) , but getting the empty response from success callback

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Code:

var userData = new kony.sdk.KNYObj("user");

var whereCondition = {};

whereCondition["USERNAME"] = "nurseshyam";

var options = {};

var projectionColumnsList = [];

projectionColumnsList.push("SIGNATURE");

projectionColumnsList.push("USER_ID");

options["whereCondition"] = whereCondition;

options["projectionColumns"] = projectionColumnsList;

userData.get(options,getUserTableDatasuccessCallback.bind(this), getUserTableDataerrorCallback.bind(this));