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
Parameter | Description | Version |
$mode | True lanches master mode, false - finishes it. | |
Examples