check_collection_exists

ctapointing.database.check_collection_exists(database_name: str, collection_name: str) bool

Check if collection collection exists in database database

Parameters:
  • database_name (str) – name of the database

  • collection_name (str) – name of the collection

Returns:

does_exist – True if collection exists, False otherwise

Return type:

Bool