Database class

Constructors

Database()
factory

Properties

encryptionKey ↔ List<int>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
initialized → bool
no setter
path ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String table, String key) → Future<Exception?>
deleteAll(String table) → Future<Exception?>
find(String table, String key) → Future<Map<String, dynamic>?>
findAll(String table) → Future<List<Map<String, dynamic>>>
initialize(String? path) → dynamic
insert(String table, String key, Map<String, dynamic> map, {bool logExceptions = true}) → Future<Exception?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String table, {String? where, String? orderby}) → Future<List<Map<String, dynamic>>>
toString() → String
A string representation of this object.
inherited
update(String table, String key, Map<String, dynamic> map) → Future<Exception?>
upsert(String table, String key, Map<String, dynamic> map) → Future<Exception?>

Operators

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