public executeQueryForMap ( $connection, $parameter, $keyProperty, $valueProperty = null, $skip, $max, $delegate = null ) : array | ||
return | array | An array of object containing the rows keyed by keyProperty. |
public function executeQueryForMap($connection, $parameter, $keyProperty, $valueProperty = null, $skip = -1, $max = -1, $delegate = null)
{
$sql = $this->_command->create($this->_manager, $connection, $this->_statement, $parameter, $skip, $max);
return $this->runQueryForMap($connection, $parameter, $sql, $keyProperty, $valueProperty, $delegate);
}