Good Day everyone I been working on E-Commerce App using Firebase I have no problem on the design (UI) and coding it except on how to properly structure nodes in Firebase. In relational database its easy but in Firebase I'm relatively new. Below is my tables in relational database format look like. How do I convert this to Firebase structure model? So I can eliminate redundancy in update/delete. Thank you and Good Day!
大家好我每个人都在使用Firebase开发电子商务应用程序我在设计(UI)上没有任何问题并对其进行编码,除了如何正确构建Firebase中的节点。在关系数据库中它很容易但在Firebase中我相对较新。下面是关系数据库格式的表格。如何将其转换为Firebase结构模型?所以我可以消除更新/删除中的冗余。谢谢你,美好的一天!
1 个解决方案
#1
0
Sample
This is the way i like to keep the data. Keeps the Query Simple and Fast.
这是我喜欢保存数据的方式。保持查询简单快速。
You can also create the structure like the relational databases have but you might need to special function to fetch the data and contact the infromation together.
您也可以创建关系数据库所具有的结构,但您可能需要特殊功能来获取数据并一起联系信息。
#1
0
Sample
This is the way i like to keep the data. Keeps the Query Simple and Fast.
这是我喜欢保存数据的方式。保持查询简单快速。
You can also create the structure like the relational databases have but you might need to special function to fetch the data and contact the infromation together.
您也可以创建关系数据库所具有的结构,但您可能需要特殊功能来获取数据并一起联系信息。