mirrored_repositories/multivendor_clean_architecture_starter/package/mvs_database/lib/src/data
import 'package:drift/drift.dart';

abstract class IMVSDAO<T> {
  Future<List<T>> get();

  Stream<List<T>> watch();

  Future<int> insert({
    required UpdateCompanion<T> companion,
  });

  Future<bool> update({
    required UpdateCompanion<T> companion,
  });

  Future<int> delete({
    required UpdateCompanion<T> companion,
  });
}
