ping — Tests the database connection
databaseObj.ping
#ping tests the database connection by executing a simple statement. It returns true if the statement succeeded or false otherwise.