Skip to content

How can I set default schema / seatch path while configuring the client? #1421

New issue

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

Closed
IdanDavidi opened this issue Aug 20, 2017 · 1 comment
Closed

Comments

@IdanDavidi
Copy link

I am configuring the client using the object constructs:

        let clientConfig:ClientConfig = {
            host : "myhost",
            password : "mypass",
            port : 5432,
            user : "my-user",
            database : "my-db",
            ssl : true
        };

        this._client = new Client(clientConfig);

How can I tell it what is the default schema so I do not have to specify it in the every query?

thanks.

@liorhirsch

@charmander
Copy link
Collaborator

Duplicate of #1123

@charmander charmander marked this as a duplicate of #1123 Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants