Hi All,
i have confuse with updating table with 2 primary key, it;s cannot save for selected PK,
when i save it, updated all table data.
what i have to do ?
thanks
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 23 October 2017 - 17:44 PM
Hi All,
i have confuse with updating table with 2 primary key, it;s cannot save for selected PK,
when i save it, updated all table data.
what i have to do ?
thanks
Posted 24 October 2017 - 04:43 AM
well... this my friend is a special case and not generic case..
GroceryCrud as a library is built for generic case and dose not cover up special cases like yours ...
But it surely have thought bout the same and have set an alternative for special cases like yours..
its callback_update / callback_insert
for such cases.. u are expected to handle the insert / update query on your own.
Hope this resolves your issue..
Happy GCing :)
Posted 31 October 2017 - 03:19 AM
thanks, amit shah,
it's done