Skip to content

x-raay/mysql-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

based on sqlparse (python)(link https://github.com/andialbrecht/sqlparse)

for 
	- insert
	- update
	- delete
expected output 


[
  {
    "rows": "post_id,post_name",
    "values": "1719,"Post 1",
    "optype": "INSERT",
    "table": "posts"
  },
  {
    "where": "WHERE post_id=1719",
    "optype": "DELETE",
    "table": "posts"
  },
  {
    "rows": "post_name=post 2",
    "where": "WHERE id = 1719",
    "table": "posts",
    "optype": "UPDATE"
  }
]


About

Parse MYSQL Raw queries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages