From the course: Firebase Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Firestore query basics - Google Cloud Tutorial
From the course: Firebase Essential Training
Firestore query basics
- [Instructor] Okay, so now that we've learned a little bit more about what firestore is, it's time to take a look at how to write basic firestore queries. This will help us later on when we start adding firestore to our front end. To start, as I've already mentioned, we're allowed to make firestore queries directly from inside our front end application. And this can be very nice, since it allows us to bypass all the logic for making network requests well on the surface anyway, the first thing we're going to need to do in any file where we want to do this is import Firebase, and then get a reference to our fire store instance by calling the firestore function on Firebase. This is pretty similar to what we did with Firebase off. Now once we've done this, we're free to make queries. As I mentioned, data in firestore is organized in terms of collections and documents. So where we usually start off when making firestore…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
What is Firestore?3m 47s
-
(Locked)
Firestore query basics7m 18s
-
(Locked)
Set up a Firestore database3m 52s
-
(Locked)
Firestore security rules8m 18s
-
(Locked)
Populate Firestore with development data8m 57s
-
(Locked)
Add user wrapper functions5m 59s
-
(Locked)
Add review wrapper functions4m 30s
-
(Locked)
Add restaurant wrapper functions1m 20s
-
(Locked)
Add reservation wrapper functions6m 46s
-
(Locked)
Add Firestore to a project7m 5s
-
(Locked)
Implement edit profile functionality6m 30s
-
(Locked)
Load available times8m 41s
-
(Locked)
Firestore pricing4m 49s
-
-
-
-
-
-
-