Yii mysql security? Modified crud secure against injection?

As like the code thats generated with the crud tool. How safe is $model->save(); against injection attacks?

it is safe,$model->save use pdo::quote or pdo::bindparam to avoid injection

@bugmelody thanks :)