(
update: S["update"]["Type"]
)
| 145 | }) |
| 146 | }) |
| 147 | const update = ( |
| 148 | update: S["update"]["Type"] |
| 149 | ): Effect.Effect< |
| 150 | S["Type"], |
| 151 | Schema.SchemaError | SqlError, |
| 152 | S["DecodingServices"] | S["update"]["EncodingServices"] |
| 153 | > => |
| 154 | updateSchema(update).pipe( |
| 155 | Effect.catchTag("NoSuchElementError", Effect.die), |
| 156 | Effect.withSpan(`${options.spanPrefix}.update`, { |
| 157 | attributes: { id: (update as any)[idColumn] } |
| 158 | }, { |
| 159 | captureStackTrace: false |
| 160 | }) |
| 161 | ) as any |
| 162 | |
| 163 | const updateVoidSchema = SqlSchema.void({ |
| 164 | Request: Model.update, |
no test coverage detected