Merge pull request #4667 from jyaqub/patch-1

Update db-active-record.md to correct a minor typo
This commit is contained in:
Qiang Xue
2014-08-10 19:35:43 -04:00

View File

@ -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)', [