mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-08 00:07:23 +01:00
Global DOCS update: ~~~ replaced with ```
This commit is contained in:
@@ -49,13 +49,13 @@ class QueryBuilder extends \yii\db\QueryBuilder
|
||||
* Generates a batch INSERT SQL statement.
|
||||
* For example,
|
||||
*
|
||||
* ~~~
|
||||
* ```php
|
||||
* $connection->createCommand()->batchInsert('user', ['name', 'age'], [
|
||||
* ['Tom', 30],
|
||||
* ['Jane', 20],
|
||||
* ['Linda', 25],
|
||||
* ])->execute();
|
||||
* ~~~
|
||||
* ```
|
||||
*
|
||||
* Note that the values in each row must match the corresponding column names.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user