Table.toDirectory
Table.toDirectory([{ fileIdVariable, fileNameVariable, signal }]) → Promise<Directory>
Returns a Directory of the files in a file index table, which can be navigated, listed, and downloaded. The listing is cached, and only fetched again if the table has changed.
Parameters:
fileIdVariable : string, default 'file_id'
The variable containing the files' ids.
fileNameVariable : string, default 'file_name'
The variable containing the files' names (or paths).
signal : AbortSignal, optional
Returns: Promise<Directory>
Was this helpful?

