This commit is contained in:
mike12345567 2024-09-27 13:07:44 +01:00
parent 2a78409e8f
commit c30fe28fe8
1 changed files with 1 additions and 2 deletions

View File

@ -264,10 +264,9 @@ export async function outputProcessing<T extends Row[] | Row>(
} else {
safeRows = rows
}
let enriched: Row[]
// SQS returns the rows with full relationship contents
// attach any linked row information
enriched = !opts.preserveLinks
let enriched = !opts.preserveLinks
? await linkRows.attachFullLinkedDocs(table.schema, safeRows, {
fromRow: opts?.fromRow,
})