You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for a very useful package, but it has one issue - it's sending too many queries. Every time you want to make an update, it's making one more query to get an object from database.
Below is a code example and the result
public function index()
{
$this->prepareStatus();
$max = 20;
$this->setProgressMax($max);
for ($i = 0; $i <= $max; $i += 1) {
$this->setProgressNow($i);
}
$this->setOutput(['total' => $max, 'other' => 'parameter']);
}
The text was updated successfully, but these errors were encountered:
Thank you for a very useful package, but it has one issue - it's sending too many queries. Every time you want to make an update, it's making one more query to get an object from database.
Below is a code example and the result
The text was updated successfully, but these errors were encountered: