Can you pull data, by ID, from another set in FIrebase realtime DB

Viewed 28

A React learning project I'm working through has an outdated backend built through Node that posts a movie object as such using REST

"movies": {
"5b21ca3eeb7f6fbccd471815": {
  "genre": "5b21ca3eeb7f6fbccd471818",
}

but gets

 "movies": {
    "5b21ca3eeb7f6fbccd471815": {
      "genre": { "_id": "5b21ca3eeb7f6fbccd471818", "name": "Action" },
    }

I'm using Firebase instead. The database looks like this, Firebase RT DB. Is there a way in Firebase that I can reference the genre object by it's Id and accomplish the same thing when calling Get?

0 Answers
Related