close a Statement module
Close frees the resources associated with statement. This happens automatically when statement is garbage collected; however, you can call Close to release the resources immediately.
Any descendant modules of statement are closed when statement is closed. (A module is a descendant of a parent module if it is returned by one of the parent module's exports or if it is a descendant of one of the parent module's descendants.)
Create a statement, stat.
driver ≔ DatabaseLoadDriver⁡:
conn ≔ driver:-OpenConnection⁡url,name,pass:stat ≔ conn:-CreateStatement⁡:
Create a descendant of stat.
res ≔ stat:-Execute⁡SELECT * FROM animals:
Try using stat.
Error, (in ExecuteQuery) this object has been closed, no further operations are possible
Try to use stat's descendant.
Download Help Document
What kind of issue would you like to report? (Optional)