Skip to content
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

passing configuration options, #31

Open
yildirim opened this issue Sep 25, 2023 · 0 comments
Open

passing configuration options, #31

yildirim opened this issue Sep 25, 2023 · 0 comments

Comments

@yildirim
Copy link

yildirim commented Sep 25, 2023

Hi,

can you please add a documentation how to pass the configuration options?

I want to pass "insecureConnect as we do using "snowflake-sdk"

const snowflake = require('snowflake-sdk');
snowflake.configure({ insecureConnect: true });

Using 'snowflake-promise', I tried the following:

const snowflake = new Snowflake({
account: '',
username: '',
password: '',
database: 'SNOWFLAKE_SAMPLE_DATA',
schema: 'TPCH_SF1',
warehouse: 'DEMO_WH'
}, {
logLevel: 'trace', // maximum SDK logLevel
logSql: console.log,
{
insecureConnect: true
}
});

This is not working,

Your help will be greatly appreciated, thanks,

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

1 participant