-
-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Labels
Milestone
Description
Hello!
Firstly, thanks for making this plugin, it makes my life much easier.
I noticed that countMessages() in Client.php is a lot faster than fetching all messages and counting them afterwards. However, this is not possible for arbitrary queries, most notably unseen messages. How about a method in Query (or WhereQuery) that returns the number of "selected" messages? Is it possible to create a method that is a little speedier than count($query->get())?
Cheers,
Niels