title: ActiveRecord batch insert (yii2)
body: <p>Is it possible to insert multiple rows in one query with Yii's ActiveRecord? Or is this only possible via the lower-level DAO objects?</p>
  <p>I have two models
  1- Transaction
  2-TransactionItems</p>
  <p>There are multiple rows(onclick add row) in transaction Items.</p>
  <p>I want to store multiple rows of transactionitems in the database.</p>
  <p><a href="https://i.stack.imgur.com/PgXTn.png" rel="nofollow noreferrer">Screenshot of Transaction item table</a></p>