Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

SqliteClient

8 exports Since v1.0.0 Source

Constructor

Since v1.0.0

Signature

declare function make(options: SqliteClientConfig): Effect<SqliteClient, never, any>

Layers

Since v1.0.0

Signature

declare function layer(config: SqliteClientConfig): Layer<any, ConfigError>

Signature

declare function layerConfig(config: Wrap<SqliteClientConfig>): Layer<any, ConfigError>

Models

SqliteClient

interface
Since v1.0.0

Signature

interface SqliteClient extends unknown {
readonly [TypeId]: typeof TypeId;
readonly config: SqliteClientConfig;
readonly updateValues: never;
}
Since v1.0.0

Signature

interface SqliteClientConfig {
readonly db: SqlStorage;
readonly spanAttributes?: Record<string, unknown>;
readonly storage?: any;
readonly transformQueryNames?: (str: string) => string;
readonly transformResultNames?: (str: string) => string;
}

Tags

Signature

declare const SqliteClient: any

Type Ids

Since v1.0.0

Signature

declare const TypeId: unique symbol
Since v1.0.0

Signature

type TypeId = typeof TypeId