The available global functions for JavaScript in DB Notebooks are:
-
print(value: any): voidSend a value to the output area.
-
runSql(code: string, callback?: (res:IResultSetRow[]) =>void),params?: unknown): voidRun the given query.
-
runSqlIterative(code: string, callback?: (res: IResultSetData) =>void, params?: unknown): voidRun the given query and process the rows iteratively.