The firebase Web-App guide states i should put the given apiKey in my Html to initialize firebase:  // TODO: Replace with your project's customized code snippet <script src="https://www.gstatic.com/firebasejs/3.0.2/firebase.js">&l...
Say I have this minimal database stored in Cloud Firestore. How could I retrieve the names of subCollection1 and subCollection2?  rootCollection {     aDocument: {         someField: { value: 1 },         anotherField: { value: 2 }         subColle...
This code is working fine.  The only improvement I want is - when I pass "Pi", it fetch all the items object that begin with the name "Pi", but when I enter "pi" it returns nothing!  This means I want this method startAt(ite...
I tried to read sorted data from Cloud Firestore using OrderBy. And Firestore returned data as Following Order:  AAA BBB aaa bbb  Now, what I want is something like following:  AAA aaa BBB bbb  I want this result only using OrderBy not by manual So...
I am pushing data in firebase, but i want to store unique id in my database also . can somebody tell me,how to push the data with unique id.  i am trying like this    writeUserData() {     var key= ref.push().key();     var newData={         id: ke...
I have the following structure on my Firebase database:   I would like to search for an user by name, last name or email but as I don't have the user key in the level above I don't know how I can achieve this. I'm doing and administrato...
I was wondering, is there a way to update the key value?  Let´s use the following data:    I am using set() to write the data.  Now, I want the user to edit their bookTitle and it needs to change on both places. I tried using update() but I can´t...
I'm trying out Firebase (since Google's new release).  In the original version of Firebase the parameter shallow=true would return an object with { key: true } for every key at the root of the tree/branch that was requested (and so, rather...
I have a node in Firebase getting continually updated with information from a logfile. The node is lines/ and each child of lines/ is from a post() so it has a unique ID.  When a client first loads, I want to be able to grab the last X number of en...
I want to add a new data to firebase authentication which has data like displayname, phone number, image. But i want to add more such gender, birthday and more. is it possible to add new?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.