iOS Swift 中的 firebase 实时数据库推送相当于什么?
What is the equivalent of firebase realtime database push in iOS Swift?
如何在 firebase 实时数据库和 firestore 中创建对自动生成的子位置的引用?我可以在 Android 中调用 push()
寻找 iOS 中的等效项。
在 Swift 中,您可以使用 childByAutoId()
获得与其他语言中 push()
相同的结果。
另请参阅 Firebase 快速入门示例中有关 adding item to a list of data, and the usage of childByAutoId
的 Firebase 文档。
如何在 firebase 实时数据库和 firestore 中创建对自动生成的子位置的引用?我可以在 Android 中调用 push()
寻找 iOS 中的等效项。
在 Swift 中,您可以使用 childByAutoId()
获得与其他语言中 push()
相同的结果。
另请参阅 Firebase 快速入门示例中有关 adding item to a list of data, and the usage of childByAutoId
的 Firebase 文档。