SqliteOptions class

Constructors

SqliteOptions({SqliteJournalMode? journalMode = SqliteJournalMode.wal, int? journalSizeLimit = 6 * 1024 * 1024, SqliteSynchronous? synchronous = SqliteSynchronous.normal, WebSqliteOptions webSqliteOptions = const WebSqliteOptions.defaults(), Duration? lockTimeout = const Duration(seconds: 30)})
const
SqliteOptions.defaults()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
journalMode SqliteJournalMode?
SQLite journal mode. Defaults to SqliteJournalMode.wal.
final
journalSizeLimit int?
Journal/WAL size limit. Defaults to 6MB. The WAL may grow large than this limit during writes, but SQLite will attempt to truncate the file afterwards.
final
lockTimeout Duration?
Timeout waiting for locks to be released by other connections. Defaults to 30 seconds. Set to null or Duration.zero to fail immediately when the database is locked.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
synchronous SqliteSynchronous?
SQLite synchronous flag. Defaults to SqliteSynchronous.normal, which is safe for WAL mode.
final
webSqliteOptions WebSqliteOptions
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited