disableDataDoubling
boolean public \Bitrix\Main\Entity\Query::disableDataDoubling( );
This non-static method replaces all references 1:N in the filter to ID IN (subquery SELECT ID FROM <1:N relation>). Available for objects only with 1 primary field.
MSSQL does not support constructions WHERE (col1, col2) IN (SELECT col1, col2 FROM SomeOtherTable)
.
No parameters
Example
© «Bitrix24», 2001-2025