【发布时间】:2021-04-29 15:46:16
【问题描述】:
我一直在尝试访问存储在实时数据库中的值并将其显示在表格上。我只是想仔细检查一下,如果我想访问此数据库部分中“牛奶”的值,我的参考是否正确?谢谢
databaseRef = Database.database().reference().child("users/\(Auth.auth().currentUser)/Journal/")
【问题讨论】:
-
该代码对我来说看起来不错。如果您有任何问题,请编辑您的问题以显示minimal-but-complete code that reproduces the problem。
标签: swift firebase-realtime-database