Prado\Data\ActiveRecord\TActiveRecordGateway::findRecordByPK PHP 메소드

findRecordByPK() 공개 메소드

Returns record data matching the given primary key(s). If the table uses composite key, specify the name value pairs as an array.
public findRecordByPK ( TActiveRecord $record, $keys ) : array
$record TActiveRecord
리턴 array record data
    public function findRecordByPK(TActiveRecord $record, $keys)
    {
        $command = $this->getCommand($record);
        return $command->findByPk($keys);
    }