I am getting a warning as
"fetch All can be memory inefficient for large data sets",
When I did MEQP2.
Please anyone can help me to resolve this warning.
I am getting a warning in below line
$expr = $this->zendExprFactory->create(['expression' => 'COUNT(*)']);
$productMappingQry = $connection->select()->from($this->resourceConfig->getTable($tableName), [$expr])->where('store=?', $storeId);
$finalData = $connection->fetchAll($Qry);
Thank you in advance