Two or more objects Firebase Ionic 3


#1

I woul like get the values another objects in Firebase using Ionic 3 I have my service

  getUsers(path: string) {
    return this.db.list(this.PATH + path)
      .snapshotChanges()
      .map(changes => {
        return changes.map(c => ( {key: c.key , ...c.payload.val() } ));
      })
  }

now in my component how to get another objects with my method

  getLawyers() {
    this.service.getUsers('lawyers')
        .subscribe(
          result => this.lawyers = result
         /// get objects states and specialties ???
        )
  }

#2

I find this code in web but I don’t know implemantation

  this.db.list('users/lawyers').valueChanges().subscribe( result => {
      this.specialties = result;
      this.finalData = this.specialties.map(function(user) {
        console.log('teste')
        return this.db.object('specialties' + `${user.key}`)
      })
    })