Skip to content

Pager should have getTotalResults method function #2954

Description

@crustamet

I am requesting this because it is easy to make.

The problem is when i am using Paginate on model and it makes this query that counts all results from the database.
But i have no option to retrieve the Total Count and have to make another query to get countAllResults again.

So i am duplicating queries because of this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions