I am a beginner with TypeORM, I am using oracle DB with node js in the backend. I have managed to connect the db with typeORM using createConnection(). But I am not able to specify the schema while creating connection
Another way is adding schema to each entity like this
@Entity({schema:"Users"})
But I cant use this as the schema will be changing according to the dev/test/prod environment. Only way can be specifying it during creating connection
I checked typeORM connection options documentation https://github.com/typeorm/typeorm/blob/master/docs/connection-options.md It has schema option for postgres and MySQL but it doesn't specify any options for oracle.
@Entity({schema:"Users"})?