GenericDao class

Constructors

GenericDao()
const

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

delete(dynamic obj, {bool all = true, Map<String, String> whereArgs = const {'' : ''}}) Future<int>
This function deletes a record from the database.
getReg(dynamic obj, {List<String>? primaryKeys, Map<String, String>? whereArgs, List<String>? fields}) Future<List>
This function constructs an SQL query based on the parameters passed to it.
newReg(dynamic newReg) Future<int>
This function takes a record newReg and inserts it into the corresponding table.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawDelete(String sql) Future<int>
rawInsert(String sql) Future<int>
rawUpdate(String sql) Future<int>
toString() String
A string representation of this object.
inherited
updateReg(dynamic newReg) Future<int>
This function updates a record in the database with the changes specified in newReg.

Operators

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