Sql Fragment

Type safe SQL query combinator in haskell
Alternatives To Sql Fragment
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Sqlf98
2 months ago9January 05, 20222mitGo
Fast SQL query builder for Go
Sqlfrags6114 years ago3February 29, 2020mitF#
Sql generator for F#
Csvz21
3 years ago13cc0-1.0
The hot new standard in open databases
Gatsby20
10 years agoMay 23, 2021Go
Gatsby Database Toolkit For Go (ORM, SQL Builder and SQLUtils)
Sql Fragment9
3 years agobsd-3-clauseHaskell
Type safe SQL query combinator in haskell
Sql Athame8
a year agomitPython
Python tool for slicing and dicing SQL
Ddb8
4 years agoC++
基于MySQL的分布式数据库
Criterion7
8 years agomitCoffeeScript
criterion describes sql-where-conditions as objects which can be combined and manipulated
Sql_formatter6
4 years ago1C#
A simple SQL formatter
Cookiecutter5
5 years agoJava
Alternatives To Sql Fragment
Select To Compare


Alternative Project Comparisons
Readme

Overview

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.

Popular Sql Projects
Popular Fragment Projects
Popular Data Processing Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Types
Sql
Haskell
Fragments