feat: Add [incremental] MongoCollectionStream

This commit is contained in:
John Colvin committed 2024-05-25 15:09:42 -04:00
1 parent 250d9fb7cb
commit 97c82c4869
9 files changed
+524

No files matched your search

@@ -313,4 +313,9 @@ namespace BCG
return String.Format("DataPacket, schema {0} n {1} d {2} a {3}", schema.tableName, newRows.Count, deletedRows.Count, addedRows.Count);
}
}
public static class DataPacketExtensions {
public static bool HasChanges(this DataPacket dataPacket) =>
dataPacket.addedRows.Count > 0 || dataPacket.deletedRows.Count > 0;
}
}