whatisgithub

What is mo-sql-parsing?

tobymao/mo-sql-parsing — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2021-07-24

1Audience · developerComplexity · 2/5DormantSetup · easy

In one sentence

A library that translates SQL queries into structured JSON (and partially back), so non-SQL data stores can be queried using familiar SQL syntax.

Mindmap

mindmap
  root((mo-sql-parsing))
    What it does
      SQL to JSON
      JSON to SQL partial
      Read only queries
    Tech stack
      Python
    Use cases
      Query translation
      Dashboard SQL input
      Multi backend support
    Audience
      Backend developers
      Dashboard builders
    Features
      Subqueries
      WITH clauses
      Window functions

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let users write standard SQL then translate it to JSON for querying non-SQL data stores like MongoDB or Elasticsearch.

USE CASE 2

Build a dashboard where users query proprietary data stores using familiar SQL syntax.

USE CASE 3

Parse SQL queries into a structured, machine-readable format for analysis or transformation.

USE CASE 4

Generate SQL from a JSON query structure for supported cases.

What is it built with?

Python

How does it compare?

tobymao/mo-sql-parsing0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScript
Last pushed2021-07-24
MaintenanceDormant
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Read-only query parsing, does not support insert or update statements.

Copy-paste prompts

Prompt 1
Show me how to convert a SQL SELECT query into JSON using mo-sql-parsing.
Prompt 2
Help me integrate mo-sql-parsing so users can query my Elasticsearch backend with SQL.
Prompt 3
Explain how mo-sql-parsing handles subqueries and window functions.
Prompt 4
Write a script that parses a batch of SQL queries into JSON with mo-sql-parsing.

Frequently asked questions

What is mo-sql-parsing?

A library that translates SQL queries into structured JSON (and partially back), so non-SQL data stores can be queried using familiar SQL syntax.

Is mo-sql-parsing actively maintained?

Dormant — no commits in 2+ years (last push 2021-07-24).

How hard is mo-sql-parsing to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is mo-sql-parsing for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.