Skip to content
Snippets Groups Projects
Commit a86ac850 authored by Jared Hancock's avatar Jared Hancock Committed by Peter Rotich
Browse files

orm: Add support for MySQL FOUND_ROWS()

This adds support for the SQL_CALC_FOUND_ROWS hint and the following
FOUND_ROWS() call to fetch the total ticket count for a ticket queue without
asking the database to run the same query twice.

References:
http://dev.mysql.com/doc/refman/5.7/en/information-functions.html#function_found-rows
parent 2fadaf0c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment