A request for A Working Example of the get(/databases/) function

28 views
Skip to first unread message

M Mathems

unread,
May 10, 2023, 10:20:25 AMMay 10
to google-cloud-firestore-discuss

Hi

I am interested in an example of how Firestore's get(/databases/) function call is meant to be done - personally, I don't know how and I haven't seen it before.

If you can demonstrate the function in an example, then, please let the example include:

  • Details of how Firestore's collections should be set out
  • The field-titles of the documents within collections there
  • The field-values of the relevant field-titles
  • A draft of the associated Firestore security rules
  • Details of any methods that need to be called in order to add data to the Firestore (I work with Flutter but if you do not then I would try to construct what you explain, in Flutter) 
  • A summary that explains the process and what is to occur

The purpose of this enquiry and exercise is to enable the reader of your response to replicate your example at a Firestore nearer to them, and to understand the process and what they should expect.

I hope to read many different responses.

Many thanks for your time and for your assistance with this request.

Denver Coneybeare

unread,
May 13, 2023, 1:24:54 AMMay 13
to M Mathems, google-cloud-firestore-discuss
I'm afraid that the scope of this request is too large for me to handle. Please see our public documentation for guidance on how to use Firestore. Perhaps the "quickstart" applications would be useful examples of a typical Firestore application design: https://cloud.google.com/firestore/docs/quickstarts. If you have specific questions or problems then please do ask; however, an open-ended question about generic application design and database structure is too broad. If your question is about security rules then see https://firebase.google.com/docs/firestore/security/get-started, especially the video on that page, for details.

All the best in your adventures with Firestore!

--
You received this message because you are subscribed to the Google Groups "google-cloud-firestore-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-firestor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-firestore-discuss/d5237dee-db68-470a-9c2c-6ad034da3c0dn%40googlegroups.com.

M Mathems

unread,
May 15, 2023, 9:28:54 AMMay 15
to google-cloud-firestore-discuss
Thank you for your response.

I disagree that the scope of this question is too wide, further, the educational value of the answer would outweigh the effort required to produce it.

You would need screenshots of Firestore collections and data, plus screenshots of the Firestore security rules.  You would also need screenshots of the UI code, for example the queries producing results that are displayed.  Together these would help to make a reproducible example.

Are you certain that the get(/databases/) function actually works?  It seems that there is no proof, and the logic you have used to explain the function doesn't add up, does it?

Denver Coneybeare

unread,
May 26, 2023, 2:58:35 AMMay 26
to google-cloud-firestore-discuss
I don't argue that there would be value in producing that material. But it is quite time-consuming and out-of-scope for this discussion forum. I am indeed sure that the get(/databases/) call works.

M Mathems

unread,
May 26, 2023, 6:12:38 AMMay 26
to google-cloud-firestore-discuss
What you have explained today should be sufficient for enabling a test at a Firestore near me, and I believe the results will confirm that Firestore's get(/databases/) function does work.  I also think it would have been better for you to have explained what you explained today, at the first instance of this discussion.

Denver Coneybeare

unread,
May 26, 2023, 11:17:07 PMMay 26
to google-cloud-firestore-discuss
I agree that it would have been great to go straight to the answer you were looking for. Thanks for your patience as we took an indirect route to get there. I'll keep this discussion in mind in the future as other customer questions come in. Good luck with Firestore!
Reply all
Reply to author
Forward
0 new messages