YiiRedis icon indicating copy to clipboard operation
YiiRedis copied to clipboard

ARedisRecord.php need fix 2 methods

Open alzasr opened this issue 10 years ago • 0 comments

  1. populateRecord

    $record->setScenario('update'); +$record->setIsNewRecord(false); $record->init();

  2. getPrimaryKey

foreach($attribute as $field) {

  • $pk[$field] = $this->{$attrubute};
  • $pk[$field] = $this->{$field}; }

P.S. I do not speak English

alzasr avatar Jul 15 '14 12:07 alzasr