bulkCreate method
Implementation
@override
FutureOr<void> bulkCreate(
List<HouseholdMemberModel> entities,
) async {
return retryLocalCallOperation(() async {
final householdMemberCompanions =
entities.map((e) => e.companion).toList();
await sql.batch((batch) async {
batch.insertAll(
sql.householdMember,
householdMemberCompanions,
mode: InsertMode.insertOrReplace,
);
});
});
}