⚠ 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. ⚠

  •     

profile picture

Set_model() insert/update/delete not working



firozfz

firozfz
  • profile picture
  • Member

Posted 10 November 2017 - 16:06 PM

Hi dear, there is no details example of set_model(). Eg. I want to return a custom sql query result from model function. I did it but the insert/update/delete not working.. Give me a full example of set_model() plz.... Thanks

web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 13 November 2017 - 05:01 AM

Hello @firozfz,

 

There is a full example that I have at the forums here: /topic/90-how-to-create-an-extension-for-grocery-crud-real-example-included/

Happy GCing  :D

 

Johnny