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

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현