Web Module
Reads the rows of a sheet of the spreadsheet named by the GENPRES_URL_ID setting. Raises an InvalidOperationException when the setting is absent, and returns an empty array when the sheet cannot be read.
Functions and values
| Function or value |
Description
|
Full Usage:
genpresUrlId
Returns: unit -> string option
|
The configured GENPRES_URL_ID, resolved on first use rather than at module initialisation, so it sees the process's final working directory and environment. Memoized, so .env is read at most once.
|
Full Usage:
getDataFromSheet sheet
Parameters:
string
-
The sheet name
Returns: string array array
|
Get the data from the GenPres sheet.
|
GenPRES