Firebase Database in SQL

﹥>﹥吖頭↗ 提交于 2019-12-30 06:40:10

问题


I would like to know if it is possible to use Firebase as a SQL database. I have trouble with relations in NoSQL.

For example: a user belongs to a team, and a team has users.


回答1:


It is not possible to use Firebase in this way. Firebase is a real-time object store. It is not a SQL database and is not intended to be a replacement for one. It completely lacks mechanisms such as JOINs, WHERE query filters, foreign keys, and other tools relational databases all provide. That doesn't mean it isn't a valuable tool. But any attempt to treat it "like" a SQL replacement is going to fail. That's not its purpose.



来源:https://stackoverflow.com/questions/42222347/firebase-database-in-sql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!