Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.db.collection("cities").get().then(function(querySnapshot) {
- querySnapshot.forEach(function(doc) {
- console.log(doc.id, " => ", doc.data());
- });
- });
- constructor(
- private formBuilder: FormBuilder,
- private db: AngularFirestore )
- {}
Add Comment
Please, Sign In to add comment