⚠ 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

get value



Salman Shan
  • profile picture
  • Member

Posted 12 March 2014 - 20:26 PM

when data is inserted in a field in grocery crud how we can get that value for next operation.

 


Amit Shah
  • profile picture
  • Member

Posted 13 March 2014 - 07:10 AM

check out the documentation for callback_after_insert .... here is the method where u can get the last insert id as primary_key field

and there is where ucan update your post insert methods / procedured