/** * Retrieve Select For Flat Attribute update * * @param int $store * @return \Magento\Framework\DB\Select|null */ public function getFlatUpdateSelect($store) { return $this->_attrOptionFactory->create()->getFlatUpdateSelect($this->getAttribute(), $store); }
/** * Retrieve Select for update attribute value in flat table * * @param int $store * @return \Magento\Framework\DB\Select|null */ public function getFlatUpdateSelect($store) { /** @var $option \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option */ $option = $this->_optionFactory->create(); return $option->getFlatUpdateSelect($this->getAttribute(), $store, false); }