Removing feature check.
This commit is contained in:
parent
d71ba7d37f
commit
2a78409e8f
|
@ -266,16 +266,12 @@ export async function outputProcessing<T extends Row[] | Row>(
|
||||||
}
|
}
|
||||||
let enriched: Row[]
|
let enriched: Row[]
|
||||||
// SQS returns the rows with full relationship contents
|
// SQS returns the rows with full relationship contents
|
||||||
if (!(await features.flags.isEnabled("SQS"))) {
|
// attach any linked row information
|
||||||
// attach any linked row information
|
enriched = !opts.preserveLinks
|
||||||
enriched = !opts.preserveLinks
|
? await linkRows.attachFullLinkedDocs(table.schema, safeRows, {
|
||||||
? await linkRows.attachFullLinkedDocs(table.schema, safeRows, {
|
fromRow: opts?.fromRow,
|
||||||
fromRow: opts?.fromRow,
|
})
|
||||||
})
|
: safeRows
|
||||||
: safeRows
|
|
||||||
} else {
|
|
||||||
enriched = cloneDeep(safeRows)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!opts.squash && utils.hasCircularStructure(rows)) {
|
if (!opts.squash && utils.hasCircularStructure(rows)) {
|
||||||
opts.squash = true
|
opts.squash = true
|
||||||
|
|
Loading…
Reference in New Issue