Browse Source

Added dirty attribute description.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
647a802782
  1. 5
      docs/guide/upgrade-from-v1.md

5
docs/guide/upgrade-from-v1.md

@ -377,6 +377,11 @@ $customers = Customer::find()->asArray()->all();
~~~ ~~~
By default, ActiveRecord now only saves dirty attributes. In 1.1, all attributes
would be saved to database when you call `save()`, regardless they are changed or not,
unless you explicitly list the attributes to save.
Auto-quoting Table and Column Names Auto-quoting Table and Column Names
------------------------------------ ------------------------------------

Loading…
Cancel
Save