SqliteMigrator.ts overview
Since v1.0.0
Exports Grouped by Category
constructor
layer
Signature
declare const layer: <R>(
options: Migrator.MigratorOptions<R>
) => Layer.Layer<never, Migrator.MigrationError | SqlError, Client.SqlClient | R>
Since v1.0.0
run
Signature
declare const run: <R2 = never>({
loader,
schemaDirectory,
table
}: Migrator.MigratorOptions<R2>) => Effect.Effect<
ReadonlyArray<readonly [id: number, name: string]>,
Migrator.MigrationError | SqlError,
Client.SqlClient | R2
>
Since v1.0.0
utils
“@effect/sql/Migrator” (namespace export)
Re-exports all named exports from the “@effect/sql/Migrator” module.
Signature
export * from "@effect/sql/Migrator"
Since v1.0.0