IONIC WITH FIREBASE CLOUD FIRESTORE

Asked

Viewed 60 times

-1

is a simple question, I want to realize this select on Collection with a Where, as I realize?

this.usuarioCollection = this.db.Collection('usuarios'); this.usuario = this.usuarioCollection.valueChanges();

1 answer

1


this.usuarioCollection = this.db.Collection('usuarios', ref => { Return ref.Where('role', '=', '50'); });

solved

Browser other questions tagged

You are not signed in. Login or sign up in order to post.