Function Database.close

Explicitly closes the database connection.

void close();

After a successful call to close(), using the database connection or one of its prepared statement is an error. The Database object is destroyed and cannot be used any more.