MCPcopy Index your code
hub / github.com/Effect-TS/effect / layer

Function layer

packages/sql-pg/src/PgMigrator.ts:99–105  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

97 * @since 1.0.0
98 */
99export const layer = <R>(
100 options: Migrator.MigratorOptions<R>
101): Layer.Layer<
102 never,
103 Migrator.MigrationError | SqlError,
104 PgClient | Client.SqlClient | CommandExecutor | FileSystem | Path | R
105> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected