Function
layer
(
options: Migrator.MigratorOptions<R>
)
Source from the content-addressed store, hash-verified
| 107 | * @since 4.0.0 |
| 108 | */ |
| 109 | export const layer = <R>( |
| 110 | options: Migrator.MigratorOptions<R> |
| 111 | ): Layer.Layer< |
| 112 | never, |
| 113 | Migrator.MigrationError | SqlError, |
| 114 | | SqlClient |
| 115 | | PgClient |
| 116 | | ChildProcessSpawner.ChildProcessSpawner |
| 117 | | FileSystem.FileSystem |
| 118 | | Path.Path |
| 119 | | R |
| 120 | > => Layer.effectDiscard(run(options)) |
Callers
nothing calls this directly
Tested by
no test coverage detected