--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c74c71a1-8699-4626-aae7-bdc51a6f82e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/109bd448-8632-4037-b312-d4f82236938d%40googlegroups.com.
let db = Firestore.firestore()
let docReff = db.collection("sampleData").document("Inspiration")
docReff.getDocument { (document, error) in
if let err = error {
print("ERROR")
print("Error getting documents: \(err)")
}
if let document = document, document.exists {
let dataDescription = document.data().map(String.init(describing:)) ?? "nil"
print("Document data: \(dataDescription)")
} else {
print("Document does not exist")
}
print("here")
print(error.debugDescription)
}
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2c75bbaa-310e-4b6a-b62e-84c670fcf37c%40googlegroups.com.