Slide 15
Slide 15 text
5. Non-composite ID
• By default the idAttribute is ‘id’. (Can overwrite.)
• id should correspond with ID in the backend
• This is not possible:
var
larry
=
new
Customer({
id:
{
network:
1,
user_id:
1802
},
name:
'Larry'
});
God kills a kitten once you attempt this.