implemented database function for returning a reservation data glob