MyOdbc class
- Implemented types
Constructors
Properties
- database → String
-
final
- databaseType → DatabaseType
-
final
- driver ↔ DartOdbc
-
latefinal
- driverName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- password → String
-
final
- port → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → String
-
final
- type → DatabaseType
-
no setteroverride
- username → String
-
final
Methods
-
commitTransaction(
) → Future< Result< Unit> > -
override
-
connect(
) → Future< Result< Unit> > -
override
-
disconnect(
) → Future< Result< Unit> > -
override
-
execute(
String query, {List? params}) → Future< Result< List< >Map< >String, dynamic> > -
Executa uma query SQL e retorna os resultados como uma lista.
paramsis optional for native Prepared Statements usage (v6).override -
executeCursor(
String query, {List? params}) → Future< Result< Stream< >Map< >String, dynamic> > -
Executa uma query SQL retornando um Stream para leitura linha-a-linha (Cursor).
Ideal para grandes volumes de dados.
override
-
getConnectionString(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rollbackTransaction(
) → Future< Result< Unit> > -
override
-
startTransaction(
) → Future< Result< Unit> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validateConnection(
) → Future< Result< bool> > -
Validates if the connection is still alive and usable.
Returns Success(true) if connection is valid, Success(false) otherwise.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited