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