You can query the database using SQL statements using these methods.
Execute the query. Returns true if the query was successful or reversely false.
$user = $sqli->query('UPDATE users SET email = "hans@nickol.com" WHERE id=3');
Return the number of rows changed with the latest query.
$affected_rows = $sqli->affected_rows();
Return info about the latest query.
"Rows matched: 1 Changed: 1 Warnings: 0"