SHARE
TWEET

Untitled

a guest Jun 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db.collection('users').get()
  2.     .then((snapshot) => {
  3.       snapshot.forEach((doc) => {
  4.         console.log(doc.id, '=>', doc.data());
  5.       });
  6.     })
  7.     .catch((err) => {
  8.       console.log('Error getting documents', err);
  9.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top