Prado\Data\ActiveRecord\TActiveRecordGateway::findRecordByPK PHP Method

findRecordByPK() public method

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
return array record data
    public function findRecordByPK(TActiveRecord $record, $keys)
    {
        $command = $this->getCommand($record);
        return $command->findByPk($keys);
    }