Skip to content

Documentation


Documentation / @blazetrails/activerecord / ConnectionAdapters / FakePool

Class: FakePool ​

Defined in: packages/activerecord/lib/connection-adapters/schema-cache.ts:316

Constructors ​

Constructor ​

new FakePool(connection): FakePool

Defined in: packages/activerecord/lib/connection-adapters/schema-cache.ts:319

Parameters ​

ParameterType
connectionunknown

Returns ​

FakePool

Methods ​

withConnection() ​

withConnection<T>(callback): T

Defined in: packages/activerecord/lib/connection-adapters/schema-cache.ts:323

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
callback(conn) => T

Returns ​

T