Answer the question
In order to leave comments, you need to log in
How to execute a function with new parameters in an already running script?
I'm thinking about how to run the script and, after launch, pass some parameters that were unknown before it was launched. For example, data comes from users to the database, and the nodejs script, if it sees any changes in a certain table, processes them in a certain way.
Is it possible to do this?
Answer the question
In order to leave comments, you need to log in
If you look from the point of view of changes in the database, then in the node it is much easier to load everything from the database into the database cache and send only asynchronous update requests there. Looking from this point of view, it is easier to create a web or some other api in a node and update the database without it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question