You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is currently not possible. The database model is initialized on application startup. The upcoming v5 will allow passing params.adapter.Model where you can set the model you would like to use for the request.
Steps to reproduce
Using nedb as local data I'm trying to switch between 2 different folders using app.set ( 'nedb' , new_path ) thru a hook.
Expected behavior
Any service after the data folder update thru app.set should use the database in the updated folder
Actual behavior
After set a new path for nedb any query still refers to the nedb path variable defined in the default.json
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): above code example is set in a hook
NodeJS version: 12.22
Operating System: Win10
Browser Version: Chrome latest
React Native Version: NA
Module Loader: NA
The text was updated successfully, but these errors were encountered: