Database class

Constructors

Database()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

initialized bool
no setter

Static 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, {List<int>? encryptionKey}) Future<bool>
insert(String table, String key, Map<String, dynamic> map, {bool logExceptions = true}) Future<Exception?>
query(String table, {String? where, String? orderby}) Future<List<Map<String, dynamic>>>
update(String table, String key, Map<String, dynamic> map) Future<Exception?>
upsert(String table, String key, Map<String, dynamic> map) Future<Exception?>