package sqlgg

All checked builds pass
  1. Overview
  2. Docs
SQL Guided (code) Generator

Install

dune-project
 Dependency

Authors

Maintainers

Sources

sqlgg-20231201.tar.gz
md5=0841965b140612b9b1fb066cc21f88cb
sha256=7fbee5972b8fa0488bf31bb482101c93c328f67ceef3e95af165d554736d78fe
sha512=5d14e03e02f62c72c57cc574fd9f637e99118556a739af16d71e8813a8cbd8c330e48d69b9577ef2e9d0227aee9d85664cb4907f479927b7431e0475d954fa1a

Description

sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml. It starts off with SQL schema and queries, and generates code (or XML, allowing further code generation for various purposes). Generated code only defines a mapping of output columns and query parameters to the host language, trying to be as unobtrusive as possible and leaving the choice of SQL database (and API to access it) to the developer.

Tags

org:ygrek

Added to opam-repository:

README

sqlgg: SQL Guided (code) Generator

Build Status Build status

Homepage at https://ygrek.org/p/sqlgg/

Install with opam install sqlgg

sqlgg is sql query parser and code generator. See homepage for detailed description and rationale.

Development

Install dependencies with opam install --deps-only .

Buld with make

Conditions

Copyright (c) 2009 ygrek <ygrek@autistici.org>

This project is distributed under the terms of GPL Version 2. See LICENSE file for full license text.

Example code in demo/ and example/ and database specific bindings in impl/ are released into public domain.
See UNLICENSE file in each of the above directories for more information.

NB the output of sqlgg, i.e. the generated code, is all yours of course :)


2018-04-26

Dependencies (9)

  1. ounit
  2. base-unix
  3. extlib-compat >= "1.7.8"
  4. extlib >= "1.7.8"
  5. ppx_deriving >= "4.3"
  6. mybuild > "3"
  7. menhir >= "20180523"
  8. dune >= "2.0"
  9. ocaml >= "4.03.0"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies (3)

  1. sqlite3
  2. mysql
  3. mariadb < "2.0.0~"

Used by

None

Conflicts

None

Build status

Results of building sqlgg with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
20260721 n/a good good good good
20231201 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure