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
The issue is similar to issue strongloop/loopback#2603
I want to change my model's collection on MongoDB dynamically for each call. For this I need to override the method "collectionName" of loopback-mongodb-connector. How to override this method and also mechanism to provide collection name to the "collectionName" method. If this is the wrong approach then can you please suggest me any better approach? Any help would be much appreciated.
Link to reproduction sandbox
Expected result
Additional information
The text was updated successfully, but these errors were encountered:
Description/Steps to reproduce
The issue is similar to issue strongloop/loopback#2603
I want to change my model's collection on MongoDB dynamically for each call. For this I need to override the method "collectionName" of loopback-mongodb-connector. How to override this method and also mechanism to provide collection name to the "collectionName" method. If this is the wrong approach then can you please suggest me any better approach? Any help would be much appreciated.
Link to reproduction sandbox
Expected result
Additional information
The text was updated successfully, but these errors were encountered: