mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Fixed typo in internals/ar.md.
This commit is contained in:
@ -28,13 +28,13 @@ public function scenarios()
|
|||||||
// 4. insert and update operations will be wrapped with transaction, delete won't
|
// 4. insert and update operations will be wrapped with transaction, delete won't
|
||||||
'scenario4' => array(
|
'scenario4' => array(
|
||||||
'attributes' => array('attribute1', 'attribute2'),
|
'attributes' => array('attribute1', 'attribute2'),
|
||||||
'atomic' => array(self::INSERT, self::UPDATE),
|
'atomic' => array(self::OPERATION_INSERT, self::OPERATION_UPDATE),
|
||||||
),
|
),
|
||||||
|
|
||||||
// 5. insert and update operations won't be wrapped with transaction, delete will
|
// 5. insert and update operations won't be wrapped with transaction, delete will
|
||||||
'scenario5' => array(
|
'scenario5' => array(
|
||||||
'attributes' => array('attribute1', 'attribute2'),
|
'attributes' => array('attribute1', 'attribute2'),
|
||||||
'atomic' => array(self::DELETE),
|
'atomic' => array(self::OPERATION_DELETE),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user