Skip to content
Damien edited this page Aug 30, 2019 · 1 revision

ezSQL Variables

$db->getNum_Rows – Number of rows that were returned (by the database) for the last query (if any)

$db->getInsert_Id -- ID generated from the AUTO-INCREMENT of the previous INSERT operation (if any)

$db->affectedRows -- Number of rows affected (in the database) by the last INSERT, UPDATE or DELETE (if any)

$db->getNum_Queries -- Keeps track of exactly how many 'real' (not cached) queries were executed during the lifetime of the current script

$db->getDebug_All –- Will print out ALL queries and ALL results of your script.

$db->getCache_Dir -- Path to mySQL caching dir.

$db->getCache_Queries -- Boolean flag (see mysql/disk-cache-example.php)

$db->getCache_Inserts -- Boolean flag (see mysql/disk-cache-example.php)

$db->getUse_Disk_Cache -- Boolean flag (see mysql/disk-cache-example.php)

$db->getCache_Timeout -- Number in hours (see mysql/disk-cache-example.php)


more coming soon...

Clone this wiki locally