Frends.MySQL.ExecuteQuery / 2.0.0
Summary
Runs SQL against MySQL and returns the result as a JToken, with parameters passed separately from the statement text.
Typical use — reading from and writing to MySQL and MariaDB; parameterising is also what keeps injection out of the query
2.0.02026-11-11
Changed
- Breaking Moved
ConnectionStringfromInputto a newConnectionparameter. The task now takesInput,ConnectionandOptionsparameters. - Breaking Renamed the
QueryInputparameter toInput. - Breaking Errors are now handled according to the new
Options.ThrowErrorOnFailuresetting, and the original exception is thrown instead of a wrapped one. - Added
Options.ThrowErrorOnFailure(defaulttrue) andOptions.ErrorMessageOnFailurefor customizing error handling. - Added
Errorto the task result, which is populated when the task fails andThrowErrorOnFailureisfalse. - Updated the task to target .NET 8.
1.4.02025-12-19
Fixed
- Allow defining execute type.
- Fix the issue with respecting timeout.
1.3.02025-09-22
Fixed
- Respect Options.TimeoutSeconds in MySql commands
1.2.02025-03-18
Updated
- Update packages: Dapper 2.1.28 -> 2.1.66 MySqlConnector 2.3.5 -> 2.4.0 coverlet.collector 3.1.2 -> 6.0.4 Microsoft.NET.Test.Sdk 17.1.0 -> 17.13.0 NUnit 3.13.3 -> 4.3.2 NUnit.Analyzers 3.3.0 -> 4.6.0 NUnit3TestAdapter 4.2.1 -> 5.0.0
1.1.02024-03-07
Updated
- Changed MySqlData -library to MySqlConnector -library.
1.0.12023-01-02
Fixed
- Fixed issue with Task's result couldn't be referenced with dot notation by changing the ResultJtoken to dynamic.
- Changed the Newtonsoft.Json version to 12.0.1 to be same what Frends is using.
1.0.02022-10-12
Added
- Initial implementation