Closed daoan1412 closed 5 years ago
How can I create a subscription with filter by property?
// this fetch all items when data changed box.subscribe { allItems, _ in }
p/s: My mistake: Follow this example https://github.com/objectbox/objectbox-swift/blob/master/Example/NotesExample-iOS/NotesOverviewViewController.swift
Ah, I see you figured out by yourself that you can call subscribe on a Query object for that.
Query
Happy coding! 😀
How can I create a subscription with filter by property?
p/s: My mistake: Follow this example https://github.com/objectbox/objectbox-swift/blob/master/Example/NotesExample-iOS/NotesOverviewViewController.swift