ClientManagerBase<TModel extends TetherModel<TModel> > constructor
ClientManagerBase<TModel extends TetherModel<TModel> > ({
- required String tableName,
- required String localTableName,
- required SqliteDatabase localDb,
- required PostgrestBuilder supabase,
- required SupabaseQueryBuilder baseSupabase,
- required SupabaseClient client,
- required Map<
String, SupabaseTableInfo> tableSchemas, - required FromJsonFactory<
TModel> fromJsonFactory, - required FromSqliteFactory<
TModel> fromSqliteFactory, - SqlOperationType? type = SqlOperationType.select,
- SelectBuilderBase? selector,
- bool syncWithSupabase = true,
- SqlStatement? localQuery,
- bool maybeSingle = false,
- bool isRemoteOnly = false,
- bool isLocalOnly = false,
- SelectBuilderBase? selectorStatement,
Implementation
ClientManagerBase({
required this.tableName,
required this.localTableName,
required this.localDb,
required this.supabase,
required this.baseSupabase,
required this.client,
required this.tableSchemas,
required this.fromJsonFactory,
required this.fromSqliteFactory,
this.type = SqlOperationType.select,
this.selector,
this.syncWithSupabase = true,
this.localQuery,
this.maybeSingle = false,
this.isRemoteOnly = false,
this.isLocalOnly = false,
this.selectorStatement,
});