ballerina/h2 package
Records Summary
Record | Description | ||
---|---|---|---|
ClientEndpointConfiguration | The Client endpoint configuration for h2 databases. |
Objects Summary
Object | Description | ||
---|---|---|---|
Client | Represents an H2 client endpoint. |
public type ClientEndpointConfiguration
The Client endpoint configuration for h2 databases.
Field Name | Data Type | Default Value | Description |
---|---|---|---|
host | string | The host name of the database to connect (in case of server baased DB) |
|
path | string | The path of the database connection (in case of file baased DB) |
|
port | int | 0 | The port of the database to connect (in case of server baased DB) |
name | string | The name of the database to connect |
|
username | string | Username for the database connection |
|
password | string | Password for the database connection |
|
poolOptions | PoolOptions | Properties for the connection pool configuration |
|
dbOptions | map | DB specific properties |
public type Client object
Represents an H2 client endpoint.
-
<Client> getCallerActions() returns (CallerActions)
Returns the connector that the client code uses.
Return Type Description CallerActions -
<Client> stop()
Stops the JDBC client.