project-imas / encrypted-core-data

v2.0 - iOS Core Data encrypted SQLite store using SQLCipher
Other
785 stars 236 forks source link

Configure pragmas option #300

Open jeffdgr8 opened 6 years ago

jeffdgr8 commented 6 years ago

Handle passing SQLite PRAGMA statements in the store options with the NSSQLitePragmasOption key. This can be used to specify the journal mode (e.g. ["journal_mode" : "WAL"]) or busy timeout (e.g. ["busy_timeout" : "60000"]), as well as other functions.