public function checkHelpful($rid ,$pid ,$uid )
{
$connection = $this->objectManager->get('Magento\Framework\App\ResourceConnection');
$tbl = $connection->getTableName('catalog/product_index_price');
echo $table;
}
the output of this is 'catalog/product_index_price'. Not getting the exact table name with prefix.
Best Answer
Try this