Logo ProcessCore

Driver Module

Catalogue of ConnectorPlan values, one per supported runtime, plus a fallback helper for runtimes that do not yet have an adapter wired up.

Functions and values

Function or value Description

Driver.connectorPlans

Full Usage: Driver.connectorPlans

Returns: ConnectorPlan[]

All known plans, in declaration order.

Returns: ConnectorPlan[]

Driver.dotNet

Full Usage: Driver.dotNet

Returns: ConnectorPlan

Plan for the .NET runtime backed by Microsoft.Data.Sqlite.

Returns: ConnectorPlan

Driver.javaScript

Full Usage: Driver.javaScript

Returns: ConnectorPlan

Plan for the Node.js runtime backed by the better-sqlite3 npm package.

Returns: ConnectorPlan

Driver.notConfigured runtime

Full Usage: Driver.notConfigured runtime

Parameters:
    runtime : 'a - Display name of the runtime, embedded in the error message.

Returns: ISqliteDriver
Type parameters: 'a

Returns an ISqliteDriver placeholder that always raises, used as the default driver for runtimes that have not been wired up yet.

runtime : 'a

Display name of the runtime, embedded in the error message.

Returns: ISqliteDriver

Driver.python

Full Usage: Driver.python

Returns: ConnectorPlan

Plan for the Python runtime backed by the stdlib sqlite3 module.

Returns: ConnectorPlan

Driver.typeScript

Full Usage: Driver.typeScript

Returns: ConnectorPlan

Plan for a TypeScript-on-Node consumer that re-uses the JavaScript adapter.

Returns: ConnectorPlan

Type something to start searching.