An open SQLite database. All methods are synchronous: the underlying FFI calls are synchronous too.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Closes the database.
-
execute(
String sql) → void -
Runs
sqlwithout returning rows (e.g.PRAGMA). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parameterCount(
String sql) → int -
The number of bound parameters
sqlexpects. -
select(
String sql, {List< Object?> parameters = const [], int? maxRows}) → SqliteRows -
Runs
sqlwith positionalparametersand returns the rows. WhenmaxRowsis given, iteration stops after that many rows and SqliteRows.truncated reports whether more were available. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited