Yet another release of dbops Powershell module is finally out in the wild! A fresh v0.5.1 version is available now and can be downloaded from PSGallery and GitHub. A brief list of features:
Missing connectivity libraries can now be downloaded and installed interactively
Core deployment libraries – DbUp – were upgraded to v.4.2.0
Hundreds of new tests for every supported RDBMS:
SQL Server
Oracle
MySQL
PostgreSQL
New connection string parser to support all database types that allows for deep customization
Ad-hoc queries via Invoke-DBOQuery
New function Invoke-DBOQuery provides a cross-platform querying experience for all four supported RDBMS. Some of the most notable features:
Highly customizable connection parameters
Running queries from files or variables
JSON configuration files and native dbops configs are supported
Interactive console: -Interactive (or simply -i)
Some real-life examples:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The module now fully supports interactions with MySQL and PostgreSQL, as well as continues to support SQL Server and Oracle. You can choose which connection library to use by specifying the -Type parameter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters