G
G
Greg Popov2016-05-15 15:14:37
Yii
Greg Popov, 2016-05-15 15:14:37

How to insert into 2 tables in Yii2 by links?

There is a table tab1 and tab2, I can't find an example of saving data with fk connection, how to save such data?
UPD: Preferably using transactions.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question