File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/components/ConnectToDB Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111 "docs_dotnet" : " https://ydb.tech/docs/en/dev/example-app/example-dotnet" ,
1212 "docs_go" : " https://ydb.tech/docs/en/dev/example-app/go" ,
1313 "docs_java" : " https://ydb.tech/docs/en/dev/example-app/java" ,
14- "docs_nodejs" : " https://ydb.js.org " ,
14+ "docs_nodejs" : " https://github.com/ydb-platform/ydb-js-examples " ,
1515 "docs_php" : " https://ydb.tech/docs/en/dev/example-app/example-php" ,
1616 "docs_python" : " https://ydb.tech/docs/en/dev/example-app/python"
1717}
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ const driver = new Driver(connectionString);
138138async function run() {
139139 await driver.ready();
140140 const sql = query(driver);
141-
141+
142142 const resultSets: ResultSet[] = await sql\`SELECT 'Hello, world!' AS message;\`;
143143 console.log(resultSets[0].rows[0].message);
144144
@@ -168,7 +168,7 @@ $config = [
168168 // 'root_cert_file' => './CA.pem', Root CA file (uncomment for dedicated server only)
169169 ],
170170
171- 'credentials' => new AccessTokenAuthentication('<token>') // use from reference/ydb-sdk/auth
171+ 'credentials' => new AccessTokenAuthentication('<token>')
172172];
173173
174174$ydb = new Ydb($config);` ;
You can’t perform that action at this time.
0 commit comments