Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private func getFeeds() {
- let db = Firestore.firestore()
- let usersCollection = db.collection(DataCollections.users)
- .document()
- .collection(DataCollections.newsFeed)
- .order(by: "dateAdded", descending: true)
- usersCollection.getDocuments { (<#QuerySnapshot?#>, <#Error?#>) in
- <#code#>
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement