MethodChannelSqlConnection class

An implementation of SqlConnectionPlatform that uses method channels.

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 SQL Server database.
override
disconnect() Future<bool>
Disconnects from the MS SQL Server database.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryDatabase(String query) Future<String>
Retrieves data from the database using the specified SQL query.
override
toString() String
A string representation of this object.
inherited
updateData(String query) Future<String>
Writes data to the database using the specified SQL query.
override

Operators

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