The sendStatement function sends a statement to the LRS.
To use the function, simply pass in the statement you wish to send, as well as the debug mode you wish to use. The debug mode can be either 'echo' or null.
If you wish to debug your statements, the 'echo' mode will fetch the statement from the LRS after sending it. Fetching your statement directly allows you to evaluate the data entry created by the LRS.
Here is an example of how to use the sendStatement function:
Updated 03 Mar 2023
Did this page help you?