P
P
Pavel Khorikov2015-04-15 10:07:12
MySQL
Pavel Khorikov, 2015-04-15 10:07:12

Saving related data in Yii2?

In general, there is a database structure that needs to be populated with data from an XML file.
What is the best way to implement import to the database using Yii2 + SimpleXML from XML, taking into account the multi-connection of tables? Transactions? Or just alternately importing into each table with the assignment of relationships and so on. What are the best practices on this topic?
The very structure of the database with magazine issues, authors and other things looks like this.
65616380b9e249ed926b269251208307.png

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