Previously in scripting in Google Apps Script, I opened and closed my Jdbc connection in all the functions.
In order to speed up my application, it seems to be better to leave the connection open and use it in another function. However, I don't know how I should do that in Google Apps Script.
Can anyone give me a suggestion or an example?
Here is an example of how to retain your connection at ScriptDB.
Example here.