Is it possible to accept email as key in firebase? [duplicate]Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'Can we have Email Id as key in Firebase database?How to store and view images on firebase?Get users by name property using FirebaseWhat's the best way of structuring data on firebase?Setting users' own key in FirebaseFirebase prevent duplicate keysEmail notifications in firebaseUpdate value of key in FirebaseSend User Password via Email with FirebaseTrying to store email address as a key in firebase database but getting this error:Send Email through Firebase

Giving a good fancy look to a simple table

Did Joe Biden "stop a prosecution" into his son in Ukraine? And did he brag about stopping the prosecution?

Disable all sound permanently

What are one's options when facing religious discrimination at the airport?

Everyone Gets a Window Seat

Isn't the detector always measuring, and thus always collapsing the state?

Why did they use ultrafast diodes in a 50 or 60 Hz bridge?

What makes a character irredeemable?

Citing CPLEX 12.9

Did the Soviet army intentionally send troops (e.g. penal battalions) running over minefields?

Would a horse be sufficient buffer to prevent injury when falling from a great height?

How is this situation not a checkmate?

Do jackscrews suffer from blowdown?

Generating numbers with cubes

How can Germany increase investments in Russia while EU economic sanctions against Russia are still in place?

Does Bank Manager's discretion still exist in Mortgage Lending

Why is music is taught by reading sheet music?

Parent asking for money after I moved out

Airport Security - advanced check, 4th amendment breach

Could Boris Johnson face criminal charges for illegally proroguing Parliament?

Is there anything on the ISS that would be destroyed if that object were returned to Earth?

Does the 'java' command compile Java programs?

PhD Length: are shorter PhD degrees (from different countries) valued differently in other counter countries where PhD Is a longer process?

How to say "respectively" in German when listing (enumerating) things



Is it possible to accept email as key in firebase? [duplicate]


Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'Can we have Email Id as key in Firebase database?How to store and view images on firebase?Get users by name property using FirebaseWhat's the best way of structuring data on firebase?Setting users' own key in FirebaseFirebase prevent duplicate keysEmail notifications in firebaseUpdate value of key in FirebaseSend User Password via Email with FirebaseTrying to store email address as a key in firebase database but getting this error:Send Email through Firebase






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









-1
















This question already has an answer here:



  • Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'

    1 answer



I am working on an web application and I need to store emails as a key. Is there any way to do it, instead of setting names?



JSON Object










share|improve this question
















marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen firebase
Users with the  firebase badge can single-handedly close firebase questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 28 at 22:19


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • You might want to edit your question to be more specific about what you're trying to accomplish, and what you're trying to avoid in a solution.

    – Doug Stevenson
    Mar 28 at 21:30












  • Firebase Realtime Database keys can't contain ., which is a valid (and required) character in email addresses. The common workaround is to replace the . with a ,, which is not allowed in an email address but us allowed in a Firebase key. See stackoverflow.com/questions/41713039/…, stackoverflow.com/questions/41372563/…

    – Frank van Puffelen
    Mar 28 at 22:18


















-1
















This question already has an answer here:



  • Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'

    1 answer



I am working on an web application and I need to store emails as a key. Is there any way to do it, instead of setting names?



JSON Object










share|improve this question
















marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen firebase
Users with the  firebase badge can single-handedly close firebase questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 28 at 22:19


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • You might want to edit your question to be more specific about what you're trying to accomplish, and what you're trying to avoid in a solution.

    – Doug Stevenson
    Mar 28 at 21:30












  • Firebase Realtime Database keys can't contain ., which is a valid (and required) character in email addresses. The common workaround is to replace the . with a ,, which is not allowed in an email address but us allowed in a Firebase key. See stackoverflow.com/questions/41713039/…, stackoverflow.com/questions/41372563/…

    – Frank van Puffelen
    Mar 28 at 22:18














-1












-1








-1









This question already has an answer here:



  • Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'

    1 answer



I am working on an web application and I need to store emails as a key. Is there any way to do it, instead of setting names?



JSON Object










share|improve this question

















This question already has an answer here:



  • Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'

    1 answer



I am working on an web application and I need to store emails as a key. Is there any way to do it, instead of setting names?



JSON Object





This question already has an answer here:



  • Swift Firebase Must be a non-empty string and not contain '.' '#' '$' '[' or ']'

    1 answer







firebase firebase-realtime-database






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 29 at 6:00









marchoy

1451 silver badge8 bronze badges




1451 silver badge8 bronze badges










asked Mar 28 at 21:10









Jorge DanielJorge Daniel

11 bronze badge




11 bronze badge





marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen firebase
Users with the  firebase badge can single-handedly close firebase questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 28 at 22:19


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen firebase
Users with the  firebase badge can single-handedly close firebase questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 28 at 22:19


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen firebase
Users with the  firebase badge can single-handedly close firebase questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 28 at 22:19


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • You might want to edit your question to be more specific about what you're trying to accomplish, and what you're trying to avoid in a solution.

    – Doug Stevenson
    Mar 28 at 21:30












  • Firebase Realtime Database keys can't contain ., which is a valid (and required) character in email addresses. The common workaround is to replace the . with a ,, which is not allowed in an email address but us allowed in a Firebase key. See stackoverflow.com/questions/41713039/…, stackoverflow.com/questions/41372563/…

    – Frank van Puffelen
    Mar 28 at 22:18


















  • You might want to edit your question to be more specific about what you're trying to accomplish, and what you're trying to avoid in a solution.

    – Doug Stevenson
    Mar 28 at 21:30












  • Firebase Realtime Database keys can't contain ., which is a valid (and required) character in email addresses. The common workaround is to replace the . with a ,, which is not allowed in an email address but us allowed in a Firebase key. See stackoverflow.com/questions/41713039/…, stackoverflow.com/questions/41372563/…

    – Frank van Puffelen
    Mar 28 at 22:18

















You might want to edit your question to be more specific about what you're trying to accomplish, and what you're trying to avoid in a solution.

– Doug Stevenson
Mar 28 at 21:30






You might want to edit your question to be more specific about what you're trying to accomplish, and what you're trying to avoid in a solution.

– Doug Stevenson
Mar 28 at 21:30














Firebase Realtime Database keys can't contain ., which is a valid (and required) character in email addresses. The common workaround is to replace the . with a ,, which is not allowed in an email address but us allowed in a Firebase key. See stackoverflow.com/questions/41713039/…, stackoverflow.com/questions/41372563/…

– Frank van Puffelen
Mar 28 at 22:18






Firebase Realtime Database keys can't contain ., which is a valid (and required) character in email addresses. The common workaround is to replace the . with a ,, which is not allowed in an email address but us allowed in a Firebase key. See stackoverflow.com/questions/41713039/…, stackoverflow.com/questions/41372563/…

– Frank van Puffelen
Mar 28 at 22:18













1 Answer
1






active

oldest

votes


















0
















No and yes. The dot is an illegal character for the RTD. So you can replace it



variable key = some@email.com.yourLanguageReplace(".", "DOT");


And then use that as a key



wBookingsRef.child(variable).set(...


The result should be:



-webBookings
-some@emailDOTcom:





share|improve this answer
































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0
















    No and yes. The dot is an illegal character for the RTD. So you can replace it



    variable key = some@email.com.yourLanguageReplace(".", "DOT");


    And then use that as a key



    wBookingsRef.child(variable).set(...


    The result should be:



    -webBookings
    -some@emailDOTcom:





    share|improve this answer





























      0
















      No and yes. The dot is an illegal character for the RTD. So you can replace it



      variable key = some@email.com.yourLanguageReplace(".", "DOT");


      And then use that as a key



      wBookingsRef.child(variable).set(...


      The result should be:



      -webBookings
      -some@emailDOTcom:





      share|improve this answer



























        0














        0










        0









        No and yes. The dot is an illegal character for the RTD. So you can replace it



        variable key = some@email.com.yourLanguageReplace(".", "DOT");


        And then use that as a key



        wBookingsRef.child(variable).set(...


        The result should be:



        -webBookings
        -some@emailDOTcom:





        share|improve this answer













        No and yes. The dot is an illegal character for the RTD. So you can replace it



        variable key = some@email.com.yourLanguageReplace(".", "DOT");


        And then use that as a key



        wBookingsRef.child(variable).set(...


        The result should be:



        -webBookings
        -some@emailDOTcom:






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 28 at 22:08









        cutikocutiko

        3,9263 gold badges23 silver badges38 bronze badges




        3,9263 gold badges23 silver badges38 bronze badges


















            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript