mssql 0.1.1
mssql: ^0.1.1 copied to clipboard
A pure Dart driver for Microsoft SQL Server using the TDS 7.4 wire protocol.
Changelog #
0.1.1 #
- Remove hardcoded credentials from example and benchmark tool — all connection details now read from environment variables.
- Wrap connection and pool usage in
try/finallyto guaranteeclose()on error.
0.1.0 #
- Initial release.
- Pure-Dart TDS 7.4 driver — no native extensions, no FFI.
MssqlConnectionwith SQL Server and Azure AD authentication (bearer token, ROPC, client credentials).MssqlPoolwith configurable min/max, idle reaping, and acquire timeouts.- Full read support for all common SQL Server types including
sql_variant. - Named-parameter queries using
sp_executesql(@namesyntax). - Streaming large result sets with
queryStream. - Multiple result sets via
queryMultiple. - Transaction support — callback form (auto commit/rollback) and manual
begin/commit/rollback. - TLS encryption with optional self-signed certificate trust.
MssqlExceptionwitherrorCode,severity, andprecedingErrorsfor multi-error batches.