We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If anyone wants to use this on lambda you got to change the code around 179- 180 to this
let lambdaID =Counter_${this._options.id}; if(!connection.models[lambdaID]){ return connection.model(lambdaID,CounterSchema); }else{ return connection.models[lambdaID]; }
let lambdaID =
; if(!connection.models[lambdaID]){ return connection.model(lambdaID,CounterSchema); }else{ return connection.models[lambdaID]; }
The text was updated successfully, but these errors were encountered:
Hello @TopHatMan, is this a general consideration that maybe is valid also outside of Lambda? Would you like to provide a PR, maybe with a test case?
Sorry, something went wrong.
It should work outside of lambda too I think. I just made small adjusts and copied the code to my project at the time. Tbh I never made a PR.
No branches or pull requests
If anyone wants to use this on lambda you got to change the code around 179- 180 to this
let lambdaID =
Counter_${this._options.id}; if(!connection.models[lambdaID]){ return connection.model(lambdaID,CounterSchema); }else{ return connection.models[lambdaID]; }
The text was updated successfully, but these errors were encountered: