Skip to content

Inconsistencies between documentation and exposed methods #47

@basteks

Description

@basteks

Mentioned in this thread.

The intro at /javascript/ says

Features that are only available in one context are clearly marked on the respective pages.

Introspection of base inside the script editor shows this isn't the case for 16 documented methods, all of which are absent from the script runtime without any marking: insertColumn, renameColumn, resizeColumn, freezeColumn, moveColumn, modifyColumnType, addColumnOptions, addColumnCascadeSettings, deleteColumn, listRows, insertRow, batchAppendRows, batchUpdateRows, updateLink, batchUpdateLinks, getMetadata.

Note the asymmetry within the batch family: batchDeleteRows is present in scripts, but batchAppendRows and batchUpdateRows (and also batchUpdateLinks) are not.

Conversely, the script runtime exposes several methods the docs don't mention (aliases/deprecated?): addRow, getViews, getRowById, deleteRowById, deleteRowsByIds, getViewRows, modifyRow, updateLinks, outputError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions