Reputation: 11
i have added some data manually to real time database of firebase, automatically its initiated as Long, is there any way to change it to become string manually?
Upvotes: 1
Views: 410
Reputation: 598785
If you want to store a numeric value as a string by entering it in the Firebase console, enter it with quotes around it.
So:
69788985
, it'll be stored as a number."69788985"
, it'll be stored as a string.Also see this screenshot:
Upvotes: 2