Skip to content

FalkorDB/sql2cypher-ts

Repository files navigation

Tests Coverage License Discord Twitter

sql2cypher-ts

This is a TypeScript library that converts SQL queries to Cypher queries. It is based on the SQL parser library sql-parser

Installation

npm install sql2cypher

Usage

import { SQL2Cypher } from 'sql2cypher';

const converter = new SQL2Cypher();

const sql = 'SELECT * FROM table WHERE column = 1';
const cypher = converter.convert(sql);
console.log(cypher);

Supported SQL queries

  • SELECT