Skip to content
Oxford Harrison edited this page Nov 11, 2024 · 13 revisions

DOCSAPI


Client is the top-level interface in Linked QL. Each instance implements the following methods:

API Description
client.query() Run an arbitrary query.
client.createDatabase() Programmatically perform a CREATE DATABASE operation.
client.renameDatabase() Programmatically perform a RENAME DATABASE operation.
client.alterDatabase() Programmatically perform an ALTER DATABASE operation.
client.dropDatabase() Programmatically perform a DROP DATABASE operation.
client.hasDatabase() Check if a database exists.
client.databases() Get the list of databases.
client.database() Obtain a Database instance.
client.schema() Obtain the root schema instance.
client.listen() Bind an event listener.
client.getPID() Get your client connection ID.

Usage

Obtain the Linked QL client for your database as shown in the getting started guide.

Clone this wiki locally