sql2cypher
v0.2.0
Published
[![Tests](https://img.shields.io/github/actions/workflow/status/falkordb/sql2cypher-ts/ci.yml?branch=main)](https://github.com/falkordb/sql2cypher-ts/actions/workflows/ci.yml) [![Coverage](https://codecov.io/gh/falkordb/sql2cypher-ts/branch/main/graph/bad
Downloads
205
Readme
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