nebula_dart_gdbc library
Classes
- Connection
- A connection (session) with a specific database.
-
ConnectionPool<
T extends Pooled> - DataSource
- Driver
- A Driver is a software component enabling a Connection to a database.
- DriverManager
- The basic service for managing a set of GDBC drivers. Two things are supported in DriverManager:
- ExecutionPlan
- ExecutionPlanNode
- ExecutionPlanNodeDesc
- ExecutionPlanNodeProfile
-
GdbEntity<
ID> -
GdbEntityProperty<
T> - Instant
- LocalDate
- LocalDateTime
- LocalTime
- MetaKey
- NgConnection
- Create by DriverManager.getConnection
- NgDriver
- NgPreparedStatement
- NgResultSet
- NgResultSetMetaData
- NgStatement
- OffsetTime
- ParameterMetaData
- PoolConfig
- 连接池的配置
- PreparedStatement
- ResultSet
- ResultSetMetaData
- Statement
- Represents a GQL statement.
- ValueMetaData
- ZonedDateTime
- ZoneId
- ZoneOffset
- ZoneRegion
Enums
Mixins
- HasDataSource
- HasDriver
-
HasPool<
T extends Pooled> -
Pooled<
T>
Extensions
Properties
-
typeGetter
↔ Map<
GdbTypes, bool Function(dynamic)> -
getter/setter pair
-
typeHandler
↔ Map<
GdbTypes, TypeHandler> -
getter/setter pair
Functions
-
handleDataSet(
DataSet? dataSet, ValueMetaData meta, int? timezoneOffset) → dynamic -
handleExecutionPlan(
ExecutionResponse rs, NgResultSet result) → dynamic -
handleResult(
ExecutionResponse rs, int? timezoneOffset) → NgResultSet
Typedefs
- NameGetter = String? Function(int, dynamic)?
- TypeHandler = dynamic Function(dynamic, ValueMetaData, int?, NameGetter? )
Exceptions / Errors
- ConnectException
- Exception thrown when a connection to a database could not be established.
- DbFeatureException
- A GdbcException thrown when a feature is not supported by the database.
- GdbcException
- A super class for all exceptions thrown by dart_gdbc.
- GdbcQueryException
- Thrown when a query cannot be executed.
- VersionException
- Thrown when client and server versions are incompatible.