4 months ago

Count number of rows

Posted 4 months ago by KarolGil

Laravel 6

Is it possible to download in one query the number of all records that match the search criteria and download the first 10 records?

Eg. The number of all records in the database that match the search criteria = 150

Number of records retrieved from the database = 10

I want to use this query for advanced search with many filters.

Please sign in or create an account to participate in this conversation.