Open rnewman opened 8 years ago
When opening or creating a database, we should set reasonable defaults (and allow consumers to override). In particular:
See https://github.com/mozilla/firefox-ios/blob/01a471f60424224bc8db8f29f01c00cebb99f1ef/Storage/ThirdParty/SwiftData.swift#L414 for one example.
We set defaults for WAL, page size, and foreign key support. Morphing this issue to allow for configurability.
When opening or creating a database, we should set reasonable defaults (and allow consumers to override). In particular:
See https://github.com/mozilla/firefox-ios/blob/01a471f60424224bc8db8f29f01c00cebb99f1ef/Storage/ThirdParty/SwiftData.swift#L414 for one example.