Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OraclePool

Represents a pool of connection to interact with an Oracle database.

Hierarchy

  • any
    • OraclePool

Index

Methods

connectHandler

  • connectHandler(handler: ((res: SqlConnection) => void) | Handler<SqlConnection>): OraclePool
  • Parameters

    • handler: ((res: SqlConnection) => void) | Handler<SqlConnection>

    Returns OraclePool

connectionProvider

  • connectionProvider(provider: (arg: Context) => PromiseLike<SqlConnection>): OraclePool
  • Parameters

    • provider: (arg: Context) => PromiseLike<SqlConnection>
        • (arg: Context): PromiseLike<SqlConnection>
        • Parameters

          • arg: Context

          Returns PromiseLike<SqlConnection>

    Returns OraclePool

Static pool

  • Parameters

    Returns OraclePool

  • Like {@link OraclePool#pool} with a specific instance.

    Parameters

    Returns OraclePool

  • Like {@link OraclePool#pool} but connection options are created from the provided connectionUri.

    Parameters

    • connectionUri: string
    • poolOptions: PoolOptions

    Returns OraclePool

  • Like {@link OraclePool#pool} with a specific instance.

    Parameters

    • vertx: Vertx
    • connectionUri: string
    • poolOptions: PoolOptions

    Returns OraclePool

  • Create a connection pool to the Oracle databases. The supplier is called to provide the options when a new connection is created by the pool.

    Parameters

    • databases: any
    • poolOptions: PoolOptions

    Returns OraclePool

  • Like {@link OraclePool#pool} with a specific instance.

    Parameters

    • vertx: Vertx
    • databases: any
    • poolOptions: PoolOptions

    Returns OraclePool

Generated using TypeDoc