Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Sqlf | 98 | 2 months ago | 9 | January 05, 2022 | 2 | mit | Go | |||
Fast SQL query builder for Go | ||||||||||
Sqlfrags | 61 | 1 | 4 years ago | 3 | February 29, 2020 | mit | F# | |||
Sql generator for F# | ||||||||||
Csvz | 21 | 3 years ago | 13 | cc0-1.0 | ||||||
The hot new standard in open databases | ||||||||||
Gatsby | 20 | 10 years ago | May 23, 2021 | Go | ||||||
Gatsby Database Toolkit For Go (ORM, SQL Builder and SQLUtils) | ||||||||||
Sql Fragment | 9 | 3 years ago | bsd-3-clause | Haskell | ||||||
Type safe SQL query combinator in haskell | ||||||||||
Sql Athame | 8 | a year ago | mit | Python | ||||||
Python tool for slicing and dicing SQL | ||||||||||
Ddb | 8 | 4 years ago | C++ | |||||||
基于MySQL的分布式数据库 | ||||||||||
Criterion | 7 | 8 years ago | mit | CoffeeScript | ||||||
criterion describes sql-where-conditions as objects which can be combined and manipulated | ||||||||||
Sql_formatter | 6 | 4 years ago | 1 | C# | ||||||
A simple SQL formatter | ||||||||||
Cookiecutter | 5 | 5 years ago | Java | |||||||
SQLFragment is a type safe SQL combinator based on the idea that, a SQL query
* is a monoid
* joins can be deduced automatically from an join graph.
SQLFragment main intent is to allow to build easily complex query by reusing and combining pre-made fragments (which can be typed or typeless).
This is especially useful when building reporting tools, when a lot of queries are similar and the results
are either table or charts. In that case, query output can be used "raw" (.i.e a list of tuple or equivalent) and don't need to be mapped to any complex data type.
Unlike many other SQL package, which make it hard to combine SQLFragment
and String
, SQLFragment makes it easy to write raw SQL if needed.
Its purpose is to help write query quickly not make developper life hard.
We trust the developper to not use "unsafe" string.
SQLFragment also provide support for dimensional units, HList
records and automatic fragments generation from a database. The fragments generation use a space separated values file which can be generated from the database (see corresponding backend).
For more details look at the Database.SQLFragment.SQLFragment and Database.SQLFragment.Operators.