Sql
  • Select * from Table_Name;
JsStore
  • Connection.select({
  • From: "Table_Name",
  • OnSuccess:function (results){
  • //results will be array of objects.
  • console.log(results);
  • },
  • OnError:function (error) {
  • alert(error.value);
  • }
  • });

Example Next