Documentation

useMasterOnly

void public
\Bitrix\Main\Data\ConnectionPool::useMasterOnly(
 boolean $mode
);

This non-static method sets master only mode. All queries will go to the master only in this mode.

Parameters

ParameterDescriptionVersion
$modeTrue lanches master mode, false - finishes it.

Examples



© «Bitrix24», 2001-2022
Up