package sqlgg

  1. Overview
  2. Docs
SQL Guided (code) Generator

Install

Dune 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

Published: 24 Jun 2024

README

sqlgg: SQL Guided (code) Generator

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

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.