Commit 93066815 by Qiang Xue

Merge pull request #4667 from jyaqub/patch-1

Update db-active-record.md to correct a minor typo
parents f08c85c5 b70ba766
...@@ -20,7 +20,7 @@ $customer->save(); ...@@ -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)', [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment