Query Information

Row count

You can get the row count for your last query by using the RowCount() function in DBMS. This will return the row count for the previous query.

use Saturn\DatabaseManager\DBMS;
$DB = new DBMS();

// Some query here

$DB->RowCount();

Query errors

You can find errors for the previously sent query by using the Error() function.

use Saturn\DatabaseManager\DBMS;
$DB = new DBMS();

// Some query here

$DB->Error(); // Returns any query errors

Last updated