SqfliteEngine<TEntity extends IEntity, TMeta extends EntityMeta<TEntity>> class

Inheritance

Constructors

SqfliteEngine(TEntity t, {required DbContext<IEntity> dbContext, bool useIsolateDefault = true})
const

Properties

dbContext → BaseContext<IEntity>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mType → TEntity
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
t → TMeta
no setterinherited
useIsolateDefault bool
finalinherited

Methods

asCast<T>(dynamic value) → T
inherited
delete({Filter where(TMeta t)?, bool? useIsolate, bool? all}) Future<int>
inherited
firstWhereOrNull({Iterable<ColumnDefinition<IEntity, dynamic>>? columns(TMeta t)?, List<OrmOrder>? orderBy(TMeta t)?, required Filter where(TMeta t), int? offset, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<TEntity?>
inherited
firstWhereOrNullMap({Iterable<ColumnDefinition<IEntity, dynamic>>? columns(TMeta t)?, List<OrmOrder>? orderBy(TMeta t)?, required Filter where(TMeta t), int? offset, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<Map<String, dynamic>?>
inherited
getCount({Filter where(TMeta t)?, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<int>
inherited
getSum<T>({required ColumnDefinition<IEntity, dynamic> column(TMeta t), Filter where(TMeta t)?, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<T>
inherited
getSumProduct<T>({required Iterable<ColumnDefinition<IEntity, dynamic>> columns(TMeta t), Filter where(TMeta t)?, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<T>
inherited
insert(TEntity item, {bool? useIsolate}) Future<TEntity?>
inherited
insertList(Iterable<TEntity> items, {bool? useIsolate}) Future<List<TEntity>?>
inherited
insertOrUpdate(TEntity item, {bool? useIsolate}) Future<TEntity?>
inherited
insertOrUpdateList(Iterable<TEntity> items, {bool? useIsolate}) Future<List<TEntity>?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseInt(Object? object) int?
inherited
query({Filter where(TMeta t)?, Iterable<ColumnDefinition<IEntity, dynamic>>? columns(TMeta t)?, List<OrmOrder>? orderBy(TMeta t)?, int? limit, int? offset, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<List<TEntity>>
inherited
queryMap({Filter where(TMeta t)?, Iterable<ColumnDefinition<IEntity, dynamic>>? columns(TMeta t)?, List<OrmOrder>? orderBy(TMeta t)?, int? limit, int? offset, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<List<Map<String, dynamic>>>
inherited
rawQuery(Filter where(TMeta t)?, String query, {bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<List<Map<String, Object?>>>
inherited
toString() String
A string representation of this object.
inherited
update({required Filter where(TMeta t), TEntity? entity, Map<ColumnDefinition<IEntity, dynamic>, dynamic> columnValues(TMeta t)?, bool? useIsolate}) Future<int>
inherited
where({Iterable<ColumnDefinition<IEntity, dynamic>>? columns(TMeta t)?, List<OrmOrder>? orderBy(TMeta t)?, Filter filter(TMeta t)?, int? limit, int? offset, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<List<TEntity>>
inherited
whereMap({Iterable<ColumnDefinition<IEntity, dynamic>>? columns(TMeta t)?, List<OrmOrder>? orderBy(TMeta t)?, Filter filter(TMeta t)?, int? limit, int? offset, bool? useIsolate, Map<String, dynamic>? isolateArgs, void onIsolatePreMap(Map<String, dynamic>? isolateArgs)?}) Future<List<Map<String, dynamic>>>
inherited
whereString(Filter filter(TMeta t), bool? useIsolate) Future<FormattedQuery>
inherited

Operators

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