Connection class
Constructors
- Connection(String path, [Config? config])
- Connection.inMemory([Config? config])
Properties
- config ↔ Config?
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- path ↔ String
-
latefinal
-
ptrCon
↔ Pointer<
duckdb_connection> -
latefinal
-
ptrConfig
↔ Pointer<
duckdb_config> -
latefinal
-
ptrDb
↔ Pointer<
duckdb_database> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void -
execute(
String statement) → void -
A statement that doesn't return data back from the database.
For example
DELETE FROM TABLE boo;
The return value is -
fetch(
String query) → Map< String, List< Object?> > - A query that returns some data back (using the data chunks API).
-
fetchRows<
T> (String query, T rowMapper(List< Object?> )) → List<T> -
Return data back and convert each row to a type
T
, using therowMapper
function. -
init(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConfig(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited