Angularfire: How do I get the uid using the .list method?

Created on 9 May 2017  路  5Comments  路  Source: angular/angularfire

How do I get the uid using the .list() method?

DB
Users

Code
this.list = this.db.list('/users');

Output
Loop through users. It only returns the email and not the uid.
{ emai: [email protected] }

Should I just add the uid to the user?? e.q.
Users

Most helpful comment

Hi @cjhill -- Github should be used for bug reports and feature requests. How-to questions like this should typically be researched first in the documentation, and then, having found no answer be posted in StackOverflow.

In this case, your question can be answered from the documentation.

All 5 comments

.$key

@jamesdaniels Awesome! Thanks a lot.

@patrickmcd Reason for the thumbs down?

Hi @cjhill -- Github should be used for bug reports and feature requests. How-to questions like this should typically be researched first in the documentation, and then, having found no answer be posted in StackOverflow.

In this case, your question can be answered from the documentation.

@markgoho Sorry about that :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aucevica picture aucevica  路  3Comments

itisparas picture itisparas  路  3Comments

StephenFluin picture StephenFluin  路  3Comments

DennisSmolek picture DennisSmolek  路  3Comments

jnupeter picture jnupeter  路  3Comments