AlaSQLGS is a library that enables the use of the AlaSQL.js library in Google Apps Script. API docs are available here.
AlaSQL for Google Apps Script is made available as a script library. This is how you add it to your project:
- Click "Add a library" in the Libraries section of the left pane in the Apps Script IDE.
- Enter the project key (
1XWR3NzQW6fINaIaROhzsxXqRREfKXAdbKoATNbpygoune43oCmez1N8U
) in the "Script ID" field, and click "Look up". - Select the highest version number, and choose
AlaSQL
as the identifier. (Do not turn on Development Mode unless you know what you are doing. The development version may not work) - Press "Add". You can now use the AlaSQL library in your code.
To load AlaSQLGS:
const alasql = AlaSQLGS.load();
The library supports lazzy loading.
A Google Apps Script project for AlaSQL is available here.
- Select Overview left pane in the Apps Script IDE.
- In the upper right corner find the copy icon.
AlaSQLGS for Google Apps Script is released under the MIT license.