Retrieves all data from the current database.