Beispiel #1
0
 def delete(self, singleOrbitRef: DocumentReference):
     """ Description
         This function deletes an orbit from the database
         Note that this function should not be called directly from any logics, 
             since you have to delete all references to it from RideRequest, Event, etc. 
     """
     return singleOrbitRef.delete()
Beispiel #2
0
 def delete(self, eventRef: DocumentReference):
     """ Description
         This function deletes a ride request from the database
     :type self:
     :param self:
     :type eventRef:DocumentReference:
     :param eventRef:DocumentReference:
     :raises:
     :rtype:
     """
     return eventRef.delete()