Issue with rebuild job

Status
This content is read-only, or is not open for further replies.

mjda

Guest
offline
So I've built a rebuild job to rebuild some data from a custom add-on.

I've got this in my Job.php:

PHP:

Code:
    protected function getNextIds($start, $batch)
    {
        $db = $this->app->db();

        return $db->fetchAllColumn($db->limit(
            "
                SELECT item_id
                FROM custom_table
                WHERE item_id > ?
                ORDER BY item_id
            ", $batch
        ), $start);
    }

However, for some reason, it's skipping over some of...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom