@semiotic-labs/graph-sql
v1.0.0
Published
Discovery and execution services API for sql enabled graph protocol subgraphs
Downloads
6
Readme
Highlights
- Discovery API
- SQL execution API
- Package include CommonJS, ES Modules, UMD version and TypeScript declaration files.
Install
npm install @semiotic-labs/graph-sql
Usage
import {createConnection} from '@semiotic-labs/graph-sql';
const connection = await createConnection(
{
displayName: 'Graph EBO Arbitrum'
},
undefined,
true
);
const queryresult = await connection.execute('SELECT 1;');
Gateway API Key
SQL query execution requires API key for sql enabled gateway. Get your API keys from https://sql.semiotic.ai .