mssql_native 0.0.1 copy "mssql_native: ^0.0.1" to clipboard
mssql_native: ^0.0.1 copied to clipboard

A cross-platform SQL Server driver for Dart and Flutter with connection pooling for concurrent workloads, streaming queries, cancellation, and transactions.

example/README.md

Examples #

basic.dart is the compact package example. It shows runtime initialization, connection ownership, parameter binding, and cleanup. Replace its connection settings and select a trust source appropriate for the deployment before running it.

The rest of this directory is a larger Flutter development fixture. It demonstrates a connection lifecycle, a parameterized query, Unicode data, and visible error reporting.

Before running it, replace the placeholder connection settings in lib/main.dart with development credentials. The current UI contains a single action button; it does not collect credentials.

The driver initializes its runtime automatically when the first connection is opened. Encryption defaults to off, so the current fixture uses plaintext. A real application that selects require or strict must initialize MssqlRuntime with an appropriate process-wide MssqlTlsTrust first.

From this directory:

flutter pub get
flutter run

Supported Flutter targets are Windows x64, Linux x64, macOS arm64/x86_64, iOS arm64 device and arm64/x86_64 simulator, and Android arm64-v8a/x86_64. Web is not supported because the driver uses dart:ffi and packaged native libraries.

See TLS configuration and the package README before adapting the example for deployment.

0
likes
0
points
208
downloads

Publisher

verified publisheraksoyhlc.net

Weekly Downloads

A cross-platform SQL Server driver for Dart and Flutter with connection pooling for concurrent workloads, streaming queries, cancellation, and transactions.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

code_assets, ffi, hooks, meta, native_toolchain_c

More

Packages that depend on mssql_native

Packages that implement mssql_native