Cake.SqlTools

Cake Build addin for executing sql scripts against a database

#addin nuget:?package=Cake.SqlTools&version=0.2.3

<package id="Cake.SqlTools" version="0.2.3" />

dotnet add package Cake.SqlTools --version 0.2.3

<PackageReference Include="Cake.SqlTools" Version="0.2.3" />

Aliases

Contains Cake aliases for executing sql queries

General

ExecuteSqlFile(ICakeContext, FilePath, SqlQuerySettings) Executes a sql file against a database
ExecuteSqlQuery(ICakeContext, string, SqlQuerySettings) Executes a sql query against a database