⚠ 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

I would like to know how to to insert in 3 tables



beimar24
  • profile picture
  • Member

Posted 22 April 2013 - 17:18 PM

Dear engineers good day
I would like to know how to to insert in 3 tables


tb_personas

id_persona field

PERSON_NAME field


 

  tb_empresas

id_empresa field

razón_social field


 

tb_personas_empresa

id_persona

id_empresa

state


this in php you would a stored procedure or sp


 

but using grocery Crud


 

I have no idea how to do it
 
someone has an idea of how to get to it
 

I am very grateful in advance for your attention and cooperation

 

cordially

 

Beimar trujillo


heruprambadi
  • profile picture
  • Member

Posted 22 April 2013 - 17:27 PM

read the documentation about callback_after_insert.