IDatabase class MySQLi wrapper