SqlConnection class

Properties

hashCode int
The hash code for this object.
no setterinherited
isConnected bool
no setter
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 = 15}) Future<bool>
Connects to the MS SQL Server database.
disconnect() Future<bool>
Disconnects from the MS SQL Server database.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryDatabase(String query) Future<String>
Fetches data from the MS SQL Server database based on the provided query.
toString() String
A string representation of this object.
inherited
updateData(String query) Future<String>
Writes data to the MS SQL Server database based on the provided query.

Operators

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

Static Methods

getInstance() SqlConnection