DbHelper class

Provide some helping methods for managing the 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

mainDbPath String?
The main db path where all tables to be saved untill one is customized.
getter/setter pair

Static Methods

buildQueryForOperand(dynamic v) String
Get a sql statement to joint operand like (+, >) with another field or value.
getDbValue(dynamic value) → dynamic
Get db value of some dart native value.
getMapValue(dynamic value, Type returnType) → dynamic
getValueFromDbValue(Type type, dynamic dbValue) → dynamic
Get dart native value of some db value.