Backbone.sync = function(method, model) {
json = model.toJSON();
return json["Country"];
};
var person = new Backbone.Model ({
Country:"Costa Rica",
Name:"CR"
});
console.log(person.fetch());
Sync() is used to update data from the database.
Fetch() can be used to get a specific row of data in the table
Save() can be used to update a particular row of data in the table. Save() is usually used in combo with set()