driekus77 / SQLGrip

Lets get grip on your SQL: SQLFirst Coding with a SQL parser & builder!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLGrip

Lets get grip on your SQL: SQLFirst Coding with a SQL parser & builder!

Note: Work in Progress => Help Wanted!

Idea's what this library can become:

  • Add-on for C# Dapper Micro ORM: Don't rebuild the SQL Generation for every C# Project...
  • Validate your SQL files
  • Compare SQL Statements
  • Safe Filtering and Paging support added to your SQL Select Statements
  • ...

Parse Example (From UnitTests):

var stmnt = Parser.Parse("select hello AS h, by As b, seeya as s from greetings g, people p");

var node = stmnt.FirstOrDefault(x => x.IsNodeType<ISqlColumnExpressionListNode>(), true); // true is deep searching into node tree
...

Thanks to:

About

Lets get grip on your SQL: SQLFirst Coding with a SQL parser & builder!

License:MIT License


Languages

Language:C# 100.0%