Documentation
    Preparing search index...
    • create viewoptions (as_text, as_link, show, ...) for fields with a foreign_key to 'table' from another table

      Parameters

      • table: Table

        table of the viewtemplate

      • viewtemplate: string

        name of the viewtemplate

      Returns Promise<Record<string, string[]>>

      an object assigning the path (table.foreign_key->field) to viewoptions