I want to get data from table by following javascript code.
function getData() {
var allData = Backendless.Persistence.of( 'inq_tb' ).find();
for(var i = 0; i < allData.data.length; i++) {
console.log("user name = " + restaurants.data.name);
}
}
But i am getting this error
Uncaught TypeError: c is not a function
How can i get data from table and solve this error?
Thank you.