paulomarquesc / AzureRmStorageTable

MIT License
40 stars 27 forks source link

Features/batch #71

Open bszimmer opened 2 years ago

bszimmer commented 2 years ago

TableBatchOperation Support

Continuing work started by @davidroberts63 in PR #69

Summary of changes

New Class

Added an AzTableBatchOperation class that wraps the [Microsoft.Azure.Cosmos.Table.TableBatchOperation] class. It keeps a separate instance for each partition of the table, since operating on multiple partitions is not supported in one batch operation.

Functions

New functions

Updated functions

These functions now support passing an AzTableBatchOperation object instead of a table object

Tests

New tests for New-AzTableBatch and Invoke-AzTableBatch.
Updated tests for the existing functions to test batch functionality

Docs

Updated docs for existing functions and added new docs for New-AzTableBatch and Invoke-AzTableBatch

Hopefully this is helpful. Please let me know if there's anything you'd like changed.

paulomarquesc commented 2 years ago

Thanks @bszimmer, I'll review it.

bszimmer commented 2 years ago

@paulomarquesc - did you have a chance to review this yet?

paulomarquesc commented 2 years ago

@paulomarquesc - did you have a chance to review this yet?

Not yet.