If you have ever tried to deal with multiple primary keys in cakePHP then you have probably hit a brick wall at some stage.
Although you still need to add a single id field, this example will allow you to save your data without needing to know the id.
Usage
'user_id' => 111,
'group_id' => 222,
'another_field' => 'my data',
));
SQL generated when row does not exist
