SimplySql
SimplySql copied to clipboard
Invoke-SQLBulkCopy from PSObject
Cannot Invoke-SQLBulkCopy from a PSObject instead of a source db.
This is not yet supported, though is on the wishlist. I do not have an ETA -- haven't been able to work on new features for the past year, though I've corrected bugs that arise.
@daisy613 -- I found a nuget package that will produce a datareader from any Enumerable object -- this should make it easy to support piping (or passing in an array of objects) to Invoke-SqlBulkCopy to be loaded. This is planned to be fixed in 2.0, which I'm actively working on.