I am creating an install script, but I want to make sure that the collections that I am installing are not already being used by another program.
I am wondering is there a PHP function that returns 0 or 1 if the collection exists in the database?
I know I could do a find search, using the collection, however I would prefer not having to do a find search to get the result.
Any help here would be great
Aucun commentaire:
Enregistrer un commentaire