Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 927 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 927 Bytes

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: