mithrandyr / SimplySql

PowerShell module for querying various SQL databases
MIT License
197 stars 31 forks source link

v2.0.2 - JSON fix #139

Closed mithrandyr closed 6 months ago

mithrandyr commented 6 months ago

When using ConvertTo-Json Powershell appears to return a string, but under the covers it is a PSObject. The update checks for this and converts to the BaseObject before passing to the SQL Provider as a parameter value.

Also, minor fix for adding SqlParameters to the exception object when an exception is thrown.