1
0
Fork 0
mirror of synced 2024-08-08 06:37:55 +12:00

Add comments

This commit is contained in:
Adria Navarro 2023-10-09 15:37:42 +02:00
parent 6f77be622f
commit 7d6cd53c29

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) {