[url=https://dev.1c-bitrix.ru/api_d7/detail.php?ID=1754069]fetchAll[/url]
array public
\Bitrix\Main\DB\Result::fetchAll(
\Bitrix\Main\Text\Converter $converter = null
);
Fetches all the rows of the query result and returns it in the array of associative arrays.
Returns an empty array if query has no data.
Parameters
ParameterDescriptionVersion
$converterOptional converter to encode data on fetching.
Examples
array public
\Bitrix\Main\DB\Result::fetchAll(
\Bitrix\Main\Text\Converter $converter = null
);
Fetches all the rows of the query result and returns it in the array of associative arrays.
Returns an empty array if query has no data.
Parameters
ParameterDescriptionVersion
$converterOptional converter to encode data on fetching.
Examples