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.
Mentioned in this thread.
The intro at
/javascript/saysIntrospection 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:
batchDeleteRowsis present in scripts, butbatchAppendRowsandbatchUpdateRows(and alsobatchUpdateLinks) 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.