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
buildFilterSql
string public static \Bitrix\Main\Entity\Query::buildFilterSql( \Bitrix\Main\Entity\Base $entity, array $filter );
Static method sets conditions SQL filter for WHERE.
It is used for external calls: building SQL for all UPDATE or DELETE
Parameters
Parameter | Description | Version |
---|---|---|
$entity | Entity | |
$filter | The same format as for setFilter |
Example
© «Bitrix24», 2001-2024
Up