---
title: "Comment by Mustapha Garba on \"Understanding Firebase Cloud Functions and Triggers 🔥☁️ ⚡\" | Hashnode"
description: "&quot;The Cloud Functions for Firebase SDK exports a functions.firestore object that allows you to create handlers tied to specific Cloud Firestore events...&qu"
url: "https://hashnode.com/posts/understanding-firebase-cloud-functions-and-triggers-cloud-high-voltage/5d3ab74a90c743f54d610546/comment/5d3ac6e969f990ed576e1305"
---

[Discussion](https://hashnode.com/posts/understanding-firebase-cloud-functions-and-triggers-cloud-high-voltage/5d3ab74a90c743f54d610546)

Comment [Understanding Firebase Cloud Functions and Triggers 🔥☁️ ⚡](https://hashnode.com/posts/understanding-firebase-cloud-functions-and-triggers-cloud-high-voltage/5d3ab74a90c743f54d610546)

[Mustapha Garba](https://hashnode.com/@mustaphagarba)

[Jul 26, 2019](https://hashnode.com/posts/understanding-firebase-cloud-functions-and-triggers-cloud-high-voltage/5d3ab74a90c743f54d610546/comment/5d3ac6e969f990ed576e1305)

"The Cloud Functions for Firebase SDK exports a functions.firestore object that allows you to create handlers tied to specific Cloud Firestore events..."

The firestore object functions seem to map very neatly to RESTful operations PUT, POST and DELETE (or CREATE, UPDATE and DELETE if you prefer the crud nomenclature). Any reason why there isn't a corresponding onRead() function? For example I might want to trigger an action on my backend based on unique visitors etc. Or is 5here a neater way to achieve this?

Good write-up.

[Timothy Olaleke](https://hashnode.com/@timtech4u)

[Jul 26, 2019](https://hashnode.com/posts/understanding-firebase-cloud-functions-and-triggers-cloud-high-voltage/5d3ab74a90c743f54d610546/comment/5d3ac6e969f990ed576e1305#reply-5d3acf081d87d2666c11c4df)

Hi [Mustapha Garba](https://hashnode.com/@mustaphagarba), thanks for the feedback.

That's a really good question, and I haven't found out why onRead() function wasn't implemented, but I'll be glad to look this up and get back to you when I find something interesting.

[Sohail Pathan](https://hashnode.com/@i_am_spathan)

[Aug 17, 2019](https://hashnode.com/posts/understanding-firebase-cloud-functions-and-triggers-cloud-high-voltage/5d3ab74a90c743f54d610546/comment/5d3ac6e969f990ed576e1305#reply-5d57ac185e7eb5a9640074ac)

Thanks @Timothy for sharing.
