SqliteOptions.memory constructor

const SqliteOptions.memory({
  1. Duration busyTimeout = const Duration(seconds: 5),
  2. SqliteWebOptions web = const SqliteWebOptions(),
})

Creates an isolated database discarded when its driver closes.

Implementation

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