Stitch Room Config
Configuration DSL for Room KMP database instances.
Properties
Custom SQLite driver. If null, the platform-best driver will be used. On most platforms, the bundled SQLite driver is recommended.
The journal mode for the database. Defaults to RoomDatabase.JournalMode.WRITE_AHEAD_LOGGING.
Whether to enable SQL query logging. If true, all executed SQL queries and their parameters will be logged using logger.
The strategy used to resolve the database file path. Defaults to DatabasePath.Internal.
Dispatcher used for database queries. Defaults to StitchRuntime.ioDispatcher.
Functions
Adds callbacks to the database builder.
Adds migrations to the database builder.
Adds type converters to the database builder.
Allows Room to destructively recreate database tables if Migrations are not found.