Model/ResourceModel/Post/Grid/Collection.php
private function addConditionToSelect(\Magento\Framework\DB\Select $select, $condition = null)
    {
        $select->where($this->_getConditionSql(self::CAT_PROD_LINK_ALIAS . '.category_id', $condition));
    }
private function addConditionToSelect(\Magento\Framework\DB\Select $select, $condition = null)
    {
        $select->where($this->_getConditionSql(self::CAT_PROD_LINK_ALIAS . '.category_id', $condition));
    }
private function addConditionToSelect ( \ Magento \ Framework \ DB \ Select $ select , $ condition = null ) { $ select -> where ( $ this -> _getConditionSql ( self :: CAT_PROD_LINK_ALIAS . '.category_id' , $ condition ) ) ; }
Adds the condition relating to category ids.

@param \Magento\Framework\DB\Select $select
@param null $condition
@return void
Adds the condition relating to category ids .