Hello, I am having trouble retrieving the model's id after I save the model when I am not using auto_increment in my SQL.
public function beforeValidationOnCreate() {
    $this->uuid = new RawValue('UUID()');
}
//in the controller
if($model->validation()) {
  $model->save();
  echo $model->uuid;
}The result is i get is 'UUID()' (without the quotes). The Database gets the value correctly. Its just I can't retrieve it in the application right after save.
Thanks in advance, Gasim