cannot update row with composite primary keys
Opened this issue · 2 comments
softwarevamp commented
$category->categories_description()[0]->update(array(
'categories_name' => $json->name
));
with composite primary keys(categories_id, language_id) cannot be updated
Undefined index: categories_description_id
vrana commented
I've documented it at http://www.notorm.com/#faq.
jahd2602 commented
Does NotORM support multi-column primary keys?
Yes. [...] doesn't support updating rows based on multi-column primary key.
It's confiusing. So, it supports querying but not updating? If so, then the "Yes" may be misleading.