0

I am using google/firestore SDK with php , and i want to know a way to check if the collection that is requested from $_GET[] exists or not;

Mr. CLOWN
  • 37
  • 5
  • The procedure is the same as any other language - you have to query the collection and see if there is a document in it. Collections don't really "exist". There are either documents organized under the name of the collection, or not. PHP doesn't change this at all. – Doug Stevenson Aug 12 '21 at 15:06

0 Answers0