SqlConnectionPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • SqlConnectionPlatform
Implementers

Constructors

SqlConnectionPlatform()
Constructs a SqlConnectionPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
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 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>
Retrieves data from the database using the specified SQL query.
toString() String
A string representation of this object.
inherited
updateData(String query) Future<String>
Writes data to the database using the specified SQL query.

Operators

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

Static Properties

instance SqlConnectionPlatform
The default instance of SqlConnectionPlatform to use.
getter/setter pair