Package Exports
- @semiotic-labs/graph-sql
- @semiotic-labs/graph-sql/dist/cjs/index.js
- @semiotic-labs/graph-sql/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@semiotic-labs/graph-sql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
graph-sql
Discovery and execution services API for sql enabled graph protocol subgraphs
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 .