firebase-arduino
firebase-arduino copied to clipboard
Creating custom key
Hello, Thanks for this amazing powerful library! I am trying to create custom key when I am sending data from nodeMCU like this:
var booksRef = ref.child("books");
booksRef.child('Almazi').set({
title: "Arduino Firebase"
}, onComplete);
booksRef.child('Niall OHiggins').set({
title: "MongoDB and Python"
}, onComplete);
Which will create a database like this:
{
"books" : {
"Almazi" : {
"title" : "Arduino Firebase"
},
"Niall OHiggins" : {
"title" : "MongoDB and Python"
}
}
}
Where I am setting up the key prior to sending the data. Is it possible to do with friebase-arduino library? Please help me to find out how to do so.
I want to know about creating custom key too!
Let me know if you guys found a solution to this issue please! @Gizmodo @Almazi
Has this issue been resolved? I would like to set a custom key in firebase
i got a same problem too how to set a custom key in firebase ?