Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
/ es2sql Public archive

A simple module to map elastic search style query objects to SQL

Notifications You must be signed in to change notification settings

NuCivic/es2sql

Repository files navigation

ES2SQL

Javascript library to translate elastic search queries to sql

Usage

import { Es2sql } from 'src/modules/es2sql.js';

const esQuery = {
  filters: {...},
  table: 'my-table',
  from: 10,
  size: 100
};

const sqlQuery = Es2sql.translate(esQuery);

Test

npm test

Build

npm build

Attribution

Built using the wonderful react-es6-webpack-karma-boilerplate project

About

A simple module to map elastic search style query objects to SQL

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •