This week we display participant information for shared records, all without touching iCloud and instead by leveraging SQLiteData’s metadata. We will also explore two powerful tools to simplify our app: database “views” and the @DatabaseFunction macro.
pointfree.co/episodes/ep345-…
SQLiteData now lets you define your own custom aggregate functions in Swift. Simply add the @DatabaseFunction macro to a function that operates on a sequence of values.
Link below!
And all of this works seamlessly with the @DatabaseFunction feature we released recently. You can pass an entire grouping of columns to a database function it will be automatically flattened in SQL and then reconstituted when passed to Swift. Works like magic 🤩
Calling Swift functions from SQLite is incredibly powerful, and we've just made it easier than ever with a brand new @DatabaseFunction macro.
Get all the details here:
pointfree.co/blog/posts/183-…