Skip to content

Filter data specific to current user uid #868

Open
@viveshy

Description

@viveshy

I am using react-redux-firebase for my project. Data of various users are being stored in a collection quotes in Firebase as in the image at the bottom.
Now, I want to filter the data from the collection quotes. I want to access data specific to current logged in user.
BUT I'm unable to retrieve any data. P.S When I remove where: [["quote.authId",'==',props.auth.uid]], line from above code, (which should fetch all data ) data of all users are being fetched properly.Related images are :
code-github
database

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions