SqlConn class
Constructors
- SqlConn()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isConnected → bool
-
To check if application is connected with database
no setter
Static Methods
-
connect(
{required String ip, required String port, required String databaseName, required String username, required String password, int timeout = 15}) → Future - To connect to the database
-
disconnect(
) → Future - To disconnect form the database.
-
readData(
String query) → Future - To read the data from the database.
-
writeData(
String query) → Future - To write the data in the database.