Skip to content

SqliteClient

10 exports Added in v1.0.0 Source

Constructor

make

Added in v1.0.0 Source

Signature

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

Fiber Refs

asyncQuery

Added in v1.0.0 Source

Signature

declare const asyncQuery: FiberRef.FiberRef<boolean>;

Signature

declare function withAsyncQuery<R, E, A>(effect: Effect<A, E, R>): any;

Layers

layer

Added in v1.0.0 Source

Signature

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

layerConfig

Added in v1.0.0 Source

Signature

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

Models

SqliteClient interface

Added in v1.0.0 Source

Signature

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

SqliteClientConfig interface

Added in v1.0.0 Source

Signature

interface SqliteClientConfig {
  readonly encryptionKey?: string;
  readonly filename: string;
  readonly location?: string;
  readonly spanAttributes?: Record<string, unknown>;
  readonly transformQueryNames?: (str: string) => string;
  readonly transformResultNames?: (str: string) => string;
}

Tags

SqliteClient

Added in v1.0.0 Source

Signature

declare const SqliteClient: any;

Type Ids

TypeId

Added in v1.0.0 Source

Signature

declare const TypeId: unique symbol;

TypeId type

Added in v1.0.0 Source

Signature

type TypeId = typeof TypeId;