D7 API documentation
What's New
Modules
Main module in old core
addFilter
addGroup
addOrder
addSelect
buildFilterSql
cacheJoins
disableDataDoubling
exec
fetchDataModificationCallback
getFilter
getGroup
getLastQuery
getLimit
getOffset
getOrder
getQuery
getSelect
isFetchModificationRequired
registerRuntimeField
setCustomBaseTableAlias
setFilter
setGroup
setLimit
setOffset
setOrder
setSelect
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
Up