src/Pagination/CursorBuilder.php
private function guessColumn()
    {
        if ($this->query instanceof EloquentBuilder || $this->query instanceof Relation) {
            return $this->query->getModel()->getCreatedAtColumn();
        }

        return Model::CREATED_AT;
    }
private function guessColumn()
    {
        if ($this->query instanceof EloquentBuilder || $this->query instanceof Relation) {
            return $this->query->getModel()->getCreatedAtColumn();
        }

        return Model::CREATED_AT;
    }
Guess the column to use for the cursor.

@return string