1
0
Fork 0
mirror of synced 2024-09-28 15:21:28 +12:00

Removing feature check.

This commit is contained in:
mike12345567 2024-09-27 13:07:17 +01:00
parent d71ba7d37f
commit 2a78409e8f

View file

@ -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