R
R
rell_nx2016-02-19 04:37:10
Yii
rell_nx, 2016-02-19 04:37:10

What is the best way to insert/update a large number of records in YII2, DAO, or AR?

The CSV Import module performs reading from a CSV file and subsequent insert/update operations in the database. csv files can be large, ranging from a few tens to several hundred thousand lines. Accordingly the question. Which is better for inserting/updating a large number of records, DAO or AR? Or you can not be afraid, AR will pull fine?

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