New extras and updates

[pdoTools] 2.11.0 - disabling the total selection by default

Hello friends!

Let's start with some theory. All pdoTools snippets use the pdoFetch class to work with the database. During this, the total number of records will be calculated and set into the placeholder called [[+total]]. For maximum accuracy, this is done using the built-in MySQL functions:
SQL_CALC_FOUND_ROWS `id`,`pagetitle`
And MySQL will know the total amount of records.

After this query, a separate request is made for obtaining the result and setting the placeholder using:
SELECT FOUND_ROWS();
Gauke Pieter Sietzema
15 february 2018, 09:33
717
+2