DatabaseHelper class

Constructors

DatabaseHelper()
factory

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() Future<DatabaseResult>
delete(String tableName, String where, List<String> whereValueList) Future<DatabaseResult>
insert<G>(String tableName, G data, ToMap<G> toMap) Future<DatabaseResult<G>>
isDatabaseOpened() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String databaseName, List<String> onCreateCommandList, List<String> onUpgradeCommandList, int version) Future<DatabaseResult>
query<G>(String tableName, FromMap<G> fromMap, {String? where, List<String>? whereValueList, String? orderBy}) Future<DatabaseResult<G>>
toString() String
A string representation of this object.
inherited
update<G>(String tableName, G data, ToMap<G> toMap, String where, List<String> whereValueList) Future<DatabaseResult<G>>

Operators

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