Sushant Torankar

Sushant Torankar

  • 1.5k
  • 264
  • 28.9k

About loop in core

Jun 13 2022 6:16 PM

Hello,

I have 2 tables LogMaster (with columns LogId, Title) and PermissionMaster (with columns Permission Id, LogId, ContactId)

I am getting 2 different ContactId , I have to save it in PermissionMaster table with same LogId and that will be in two different rows in sql, one for each ContactId

how to achieve that ? or I have to use foreach loop in core also ? 

thank you


Answers (3)