Add comments

This commit is contained in:
Adria Navarro 2023-10-09 15:37:42 +02:00
parent 6f77be622f
commit 7d6cd53c29
1 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ export async function outputProcessing<T extends Row[] | Row>(
? await linkRows.attachFullLinkedDocs(table, safeRows)
: safeRows
// set the attachments URLs
// process complex types: attachements, bb references...
for (let [property, column] of Object.entries(table.schema)) {
if (column.type === FieldTypes.ATTACHMENT) {
for (let row of enriched) {
@ -240,7 +240,7 @@ export async function outputProcessing<T extends Row[] | Row>(
}
}
// process formulas
// process formulas after the complex types had been processed
enriched = processFormulas(table, enriched, { dynamic: true }) as Row[]
if (opts.squash) {