SqfliteAdapter class
- Implemented types
-
- Adapter<
Database>
- Adapter<
Constructors
- SqfliteAdapter(String? path, {int? version})
- SqfliteAdapter.FromConnection(Database connection)
- SqfliteAdapter.fromConnection(Database connection)
Properties
- connection → Database
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int?
-
final
Methods
-
alter(
Alter st) → Future< void> -
override
-
close(
) → Future< void> -
Closes all connections to the database.
override
-
connect(
) → Future< void> -
Connects to the database
override
-
createDatabase(
CreateDb st) → Future< void> -
Create the database
override
-
createTable(
Create statement) → Future< void> -
Creates the table
override
-
dropDb(
DropDb st) → Future< void> -
Drops tables from database
override
-
dropTable(
Drop st) → Future< void> -
Drops tables from database
override
-
find(
Find st) → Future< List< Map< >String, dynamic> > -
Returns a list of rows found by executing
statement
override -
findOne(
Find st) → Future< Map< String, dynamic> ?> -
Finds one record in the table
override
-
insert<
T> (Insert st) → Future< T> -
Inserts a record into the table
override
-
insertMany<
T> (InsertMany st) → Future< void> -
Inserts many records into the table
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseValue<
T> (dynamic v) → T -
Parses values coming from database into Dart values
override
-
remove(
Remove st) → Future< int> -
Deletes a record from the table
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Update st) → Future< int> -
Updates a record in the table
override
-
updateMany(
UpdateMany st) → Future< void> -
Updates a record in the table
override
-
upsert<
T> (Upsert st) → Future< T> -
Inserts or update a record into the table
override
-
upsertMany<
T> (UpsertMany st) → Future< List< Object?> > -
Inserts or update records into the table
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited