How to set dynamic filepath of database in sqlite node?

Hi forum,
I am looking for a way to set the file path of database in node-red-node-sqlite node something like via a msg parameter or set via a global context from settings.js.

Is this feature supported in sqlite node?
Will this feature be added in the upcoming releases?
Any such alternative excluding(this and this) nodes or a way to set it up dynamically using the original sqlite node?

Must it be runtime changeable?

If not, then would an Env Variable suffice?

Any node property can be set with an environment variable by setting its value to a string of the form ${ENV_VAR} . When the runtime loads the flows, it will substitute the value of that environment variable before passing it to the node.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.