Documentation

fetchAll

array public
\Bitrix\Main\DB\Result::fetchAll(
 \Bitrix\Main\Text\Converter $converter = null
);

This non-static method fetches all the rows of the query result and returns it in the array of associative array. When query is empty, returns an empty array.

Parameters

ParameterDescriptionVersion
$converterConverter for decryption n fetch.

Examples



© «Bitrix24», 2001-2024