MethodChannelMsSQLConnection class

A platform implementation of MsSQLConnectionPlatform using method channels.

This class interacts with the native platform using the MethodChannel to perform MS SQL Server database operations.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect({required String ip, required String port, required String databaseName, required String username, required String password, int timeoutInSeconds = 30}) Future<bool>
Connects to the MS SQL Server database.
override
disconnect() Future<bool>
Disconnects from the MS SQL Server database.
override
getData(String query) Future<String>
Retrieves data from the database using the specified SQL query.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeData(String query) Future<String>
Writes data to the database using the specified SQL query.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited