In Yii2 how to do insert in 2nd table relations?
There is a table tab1 and tab2, I can not find an example of maintaining a data link with fk, how to save such data?
UPD: Preferably using transactions.
asked July 9th 19 at 13:59
Find more questions by tags Yii