EasyDbWeb class
A web implementation of the EasyDbPlatform of the EasyDb plugin.
- Inheritance
-
- Object
- PlatformInterface
- EasyDbPlatform
- EasyDbWeb
Constructors
- EasyDbWeb()
- Constructs a EasyDbWeb
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< void> -
Close the database
inherited
-
delete(
String table, {String? where, List? whereArgs}) → Future< int> -
Delete data from the database
inherited
-
getPlatformVersion(
) → Future< String?> -
Returns a String containing the version of the platform.
override
-
init(
String dbName) → Future< void> -
Initialize the database
inherited
-
insert(
String table, Map< String, dynamic> data) → Future<int> -
Insert data into the database
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String table, {String? where, List? whereArgs, String? orderBy, int? limit, int? offset}) → Future< List< Map< >String, dynamic> > -
Query data from the database
inherited
-
rawQuery(
String sql, [List? arguments]) → Future< List< Map< >String, dynamic> > -
Execute raw SQL query
inherited
-
rawUpdate(
String sql, [List? arguments]) → Future< int> -
Execute raw SQL update
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String table, Map< String, dynamic> data, {String? where, List? whereArgs}) → Future<int> -
Update data in the database
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void