Using in TypeOrm in Nestjs #124
Unanswered
EladProject
asked this question in
Q&A
Replies: 4 comments
-
Ok, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Now the issue is:
Does pg-mem support internal tabkes such as pg_views? |
Beta Was this translation helpful? Give feedback.
0 replies
-
In case someone needs this, I have a working example: https://gist.github.com/navjotahuja92/f51601b17fb248cf4727b5650d945607 |
Beta Was this translation helpful? Give feedback.
0 replies
-
how can I use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'd like to use pg-mem as a mock DB for component testing.
I guess my question is how to incorporate pg-mem into Nestjs' TypeOrmModule?
This is what I tried:
but I get a "AlreadyHasActiveConnectionError: Cannot create a new connection named "default", because connection with such name already exist and it now has an active connection session." error when running
Any suggestion how to make it work?
Beta Was this translation helpful? Give feedback.
All reactions