sqlgg

Homepagehttp://ygrek.org.ua/p/sqlgg/
Maintainerygrek@autistici.org
Dependencies
&deriving
menhir
ocamlbuild
ocamlfind
ounit2.0.0
|extlib
extlib-compat
PublishedSep 16, 2013
Source [http] http://ygrek.org.ua/p/release/sqlgg/sqlgg-0.2.4.tar.gz
776e54a1f33b1a94490583d73b07465a
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/sqlgg/sqlgg.0.2.4/opam

SQL Guided (code) Generator

sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml. Distinguishing feature of sqlgg is that it starts off with actual SQL queries, not object models or SQL table descriptions. It analyzes SQL query and determines the set of input parameters and the set of resulting columns. Consequently, the generated code (in host language) maps query parameters on function arguments with corresponding native data types. The main idea is that the generator should take care only of semantic binding between SQL and code sides, being as unobtrusive as possible. So the choice of the specific database and API is a programmer's choice. Similarly, queries to the database are expressed in plain SQL, so that the generator can be easily plugged in any existing project.

No package is dependent