Sometimes it is not convenient and sustainable to use some basic logic blocks. Even though we can use Formula, its functionality is limited. Also, I use about 50 different logic blocks on one trigger in some cases, which is hard to maintain and organize. In this case, that would be great if we had some internal JS methods that manipulate data in the page.vars, app.vars, local DB, and so force. As I have multiple forms inside one page, I want to delete all the records after, so I have to use many different blocks to delete records one-by-one, which takes a lot of time for the user. Using some internal JS methods will not only increase AppGyver functionality, but also make it more sustainable and organized.
Also, we need to have an opportunity to edit the internal DB directly, not the DB we get after getting the DB collection. That is because you can’t make any manipulations with it since you don’t change anything in the actual DB.
So, my question is: Is there any way how I can manipulate data using JS in AppGyver (page.vars, local DB, app.vars, etc.). The most interesting part is about internal DB since I need to delete/update all records in it after clicking on the button. Even if I will be forced to use cycle in JS, let it be so.