saveCurrentRecord

Saves the changes to the current record in the database.

Example Usages

Simple (pay attention to the await keyword)

await app.saveCurrentRecord();

Return Values

In summary, the saveCurrentRecord function checks whether a save operation is already in progress. If so, it exits early. Then, it internally triggers an event named "RecordSave" using the triggerEvent function. If the event resolution is falsy, it exits early.

Last updated