SqliteQuery<T extends IModel> class

SqliteQuery Class Is For Any Action

Inheritance

Constructors

SqliteQuery({required SqliteData data, required EFTable<T> table})

Properties

data SqliteData
data For Data Like Tables And Other
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table EFTable<T>
table For Current Table
getter/setter pairoverride

Methods

Add(T item) Future<void>
Add Fuction For Add Item To Database
override
Delete(dynamic id) Future<void>
Delete Fuction For Delete Item From Database
override
Execute(String sql) Future<void>
Execute For Execute A Query
override
FirstOrDefault(String query) Future<T>
FirstOrDefault For Get The Item From Database But With Where query
override
fromMap(Map<String, dynamic> map) → T
fromMap Fuction For Convert From Map To Item
override
Get() Future<List<T>>
Get For Get All Items
override
GetById(dynamic id) Future<T>
GetById Get A Item From Database With Id
override
GetPropByEnum(PropertyEnum prop) EFProperty<T>
GetPropByEnum Get Property From Table With Details But With Enum
GetPropByName(String name) EFProperty<T>
GetPropByName Get Property From Table With Details But With Name Of Property
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap(T item) Map<String, dynamic>
toMap Fuction For Convert From Item To Map
override
toString() String
A string representation of this object.
inherited
Update(T item) Future<void>
Update Fuction For Update Item From Database
override
Where(String query) Future<List<T>>
Where For Get The Items From Database But With Where query
override

Operators

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