Skip to content

Instantly share code, notes, and snippets.

@happyharis
Created January 4, 2020 13:48
Show Gist options
  • Select an option

  • Save happyharis/1d9dacab47a78fce726e9bd53ef729a4 to your computer and use it in GitHub Desktop.

Select an option

Save happyharis/1d9dacab47a78fce726e9bd53ef729a4 to your computer and use it in GitHub Desktop.
firestore.collection('names').add({'text': 'happyharis'}); // create
firestore.collection('names').doc('111').get(); // read
firestore.collection('names').doc('111').update(data:{'text': 'thehappyharis'}); // update
firestore.collection('names').doc('111').delete(); // delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment