File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,11 @@ const TerminusClient = require("@terminusdb/terminusdb-client");
57
57
58
58
// Connect and configure the TerminusClient
59
59
const client = new TerminusClient.WOQLClient (" https://127.0.0.1:6363/" , {
60
- dbid : " banker" ,
60
+ db : " banker" ,
61
61
user: " admin" ,
62
62
key: " root" ,
63
63
});
64
+ // to change the starting settings
64
65
client .db (" banker" );
65
66
client .organization (" admin" );
66
67
@@ -115,7 +116,7 @@ To initialize `TerminusDB client` with custom options use
115
116
const TerminusClient = require (" @terminusdb/terminusdb-client" );
116
117
117
118
const client = new TerminusClient.WOQLClient (" https://127.0.0.1:6363/" , {
118
- dbid : " test_db" ,
119
+ db : " test_db" ,
119
120
user: " admin" ,
120
121
key: " my_secret_key" ,
121
122
});
You can’t perform that action at this time.
0 commit comments