(operation: string, idValue?: unknown)
| 633 | const versionColumn = options.versionColumn |
| 634 | const system: DbSystem = options.dbSystem ?? "other_sql" |
| 635 | const opSpan = (operation: string, idValue?: unknown) => |
| 636 | withDbSpan({ |
| 637 | operation, |
| 638 | system, |
| 639 | collection: options.tableName, |
| 640 | entity: options.spanPrefix, |
| 641 | ...(idValue !== undefined && { extra: { "app.entity.id": idValue } }) |
| 642 | }) |
| 643 | |
| 644 | const insertSchema = SqlSchema.findOne({ |
| 645 | Request: Model.insert, |
no test coverage detected
searching dependent graphs…