mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 00:47:55 +08:00
Merge pull request #4667 from jyaqub/patch-1
Update db-active-record.md to correct a minor typo
This commit is contained in:
@ -20,7 +20,7 @@ $customer->save();
|
|||||||
```
|
```
|
||||||
|
|
||||||
The above code is equivalent to using the following raw SQL statement, which is less
|
The above code is equivalent to using the following raw SQL statement, which is less
|
||||||
intuitive, more error prone, and may have compatibility problem for different DBMS:
|
intuitive, more error prone, and may have compatibility problems for different DBMS:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$db->createCommand('INSERT INTO customer (name) VALUES (:name)', [
|
$db->createCommand('INSERT INTO customer (name) VALUES (:name)', [
|
||||||
|
|||||||
Reference in New Issue
Block a user