Connect to a Database

Assuming you have connected with the JavaScript Client, connecting to a database is the same for TerminusDB and TerminusCMS -

The example code below registers your database in woqlClient parameters and then all your calls will be made to this db -

client.db('ExampleDatabase')
client.getSchema().then(result=>{
    console.log(result)
})