mssql_connect 0.0.2 copy "mssql_connect: ^0.0.2" to clipboard
mssql_connect: ^0.0.2 copied to clipboard

A Flutter plugin for Microsoft SQL Server (MSSQL) connectivity. Supports executing queries and managing connections across multiple platforms.

mssql_connect #

A Flutter plugin for Microsoft SQL Server (MSSQL) connectivity. This plugin allows you to connect to MS SQL Server and execute queries directly from your Flutter application.

Features #

  • Connect to Microsoft SQL Server.
  • Execute SQL queries (SELECT, INSERT, UPDATE, DELETE).
  • Support for multiple platforms (Android, iOS, Windows, macOS, Linux, Web).
  • Easy to use API.

Installation #

Add mssql_connect to your pubspec.yaml file:

dependencies:
  mssql_connect: ^0.0.1

Then run:

flutter pub get

Usage #

Direct Connection #

import 'package:mssql_connect/mssql_connect.dart';

void main() async {
  final connection = MssqlConnect();
  
  bool connected = await connection.connect(
    ip: '192.168.1.100',
    port: '1433',
    database: 'your_db',
    username: 'sa',
    password: 'your_password',
  );

  if (connected) {
    var results = await connection.executeQuery("SELECT * FROM Users");
    print(results);
  }
}

Platform Support #

Android Windows

License #

This project is licensed under the MIT License - see the LICENSE file for details.

2
likes
160
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for Microsoft SQL Server (MSSQL) connectivity. Supports executing queries and managing connections across multiple platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on mssql_connect

Packages that implement mssql_connect