(this: RecordInsertHelper, sql: string | Identifier | Fragment)
| 368 | [SegmentTypeId]: SegmentTypeId, |
| 369 | _tag: "RecordInsertHelper" as const, |
| 370 | returning(this: RecordInsertHelper, sql: string | Identifier | Fragment) { |
| 371 | const self = Object.create(Object.getPrototypeOf(this)) |
| 372 | Object.assign(self, this, { |
| 373 | returningIdentifier: typeof sql === "string" || isFragment(sql) ? sql : fragment([sql]) |
| 374 | }) |
| 375 | return self |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | /** |
nothing calls this directly
no test coverage detected