SqliteOptions.readOnly constructor

const SqliteOptions.readOnly(
  1. String path, {
  2. Duration busyTimeout = const Duration(seconds: 5),
})

Opens an existing native file without changing its journal mode.

Implementation

const SqliteOptions.readOnly(
  this.path, {
  this.busyTimeout = const Duration(seconds: 5),
}) : name = null,
     journal = null,
     readOnly = true,
     web = const SqliteWebOptions();