my class having the 3 records and 3 objects. how i iterate the multiple objects and how i get the details of those objects thank you advance.
it is working with one object id manual
query.get("36iUEFs7YL",
{
success: function(res) {
var objectId=res.id;
var productName=res.get("ProductName");
var productPrice=res.get("ProductPrice");
var productQuantity=res.get("ProductQuantity");
console.log("Id is:"+objectId);
console.log("test1"+productName);
console.log("test2"+productPrice);
console.log("test3"+productQuantity);
},
error: function(object, error)
{
console.log("ERROR::"+error.message);
}
});
o/p:
Id is:36iUEFs7YL
test1deal
test21233
test310