DBHelper class abstract

Inheritance
Implementers

Constructors

DBHelper(String table)

Properties

database Future<Database>
no setter
getTables Future<List>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
path Future<String>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String
getter/setter pair
tables Map<String, dynamic>?
getter/setter pairinherited

Methods

aggregateFunctions(String funcName, String columnName) → void
all({int? paginate}) Future<List?>
avg(String columnName) Future<int>
count() Future<int>
delete(int id) Future<int>
erase() Future<void>
find(int id) Future
first({int? paginate}) Future
fromMap(Map map) Model
getBool(int value) bool
getDateTime(String dataTime) DateTime
handleDataType(dynamic data) Map<String, dynamic>
insert() Future
last({int? paginate}) Future
limit(int count, [int offset = 0]) DBHelper
max(String columnName) Future<int>
min(String columnName) Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
order({String? column = "created_at", DatabaseOredrs? order = DatabaseOredrs.asc}) DBHelper
orWhere(String column, {dynamic value, String boolean = "="}) DBHelper
outerJoin() Future<List<Map<String, Object?>>>
pluck(dynamic col) → dynamic
rawQuery(String query) Future?
select(dynamic columns) DBHelper
sum(String columnName) Future<int>
toMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited
update(dynamic id) Future
where(String column, {dynamic value, String boolean = "="}) DBHelper

Operators

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