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;
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?
firebase firebase-realtime-database
marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen
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.
add a comment
|
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?
firebase firebase-realtime-database
marked as duplicate by Doug Stevenson, Peter Haddad, Frank van Puffelen
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
add a comment
|
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?
firebase firebase-realtime-database
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?
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
firebase firebase-realtime-database
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
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
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
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
add a comment
|
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
add a comment
|
1 Answer
1
active
oldest
votes
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:
add a comment
|
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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:
add a comment
|
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:
add a comment
|
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:
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:
answered Mar 28 at 22:08
cutikocutiko
3,9263 gold badges23 silver badges38 bronze badges
3,9263 gold badges23 silver badges38 bronze badges
add a comment
|
add a comment
|
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