Commit 0a5b7a59 by Carsten Brandt

docs: Be explicitly clear about ActiveRecord::create()

parent c8e73b42
...@@ -1152,7 +1152,7 @@ class ActiveRecord extends Model ...@@ -1152,7 +1152,7 @@ class ActiveRecord extends Model
/** /**
* Creates an active record object using a row of data. * Creates an active record object using a row of data.
* This method is called by [[ActiveQuery]] to populate the query results * This method is called by [[ActiveQuery]] to populate the query results
* into Active Records. * into Active Records. It is not meant to be used to create new records.
* @param array $row attribute values (name => value) * @param array $row attribute values (name => value)
* @return ActiveRecord the newly created active record. * @return ActiveRecord the newly created active record.
*/ */
......
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