A DSL for safe and composable SQL queries in OCaml using comprehensions and expressive types, built on PG'OCaml.
Macaque is a domain-specific language (DSL) for constructing SQL queries in OCaml, designed to provide type safety and compositional flexibility. It enables developers to write database queries using a comprehension-based syntax that minimizes runtime errors by leveraging OCaml's type system.
<:view< ... >>) for defining SELECT, INSERT, UPDATE, and DELETE operations.Sql.get and Sql.getn to enforce proper null handling.Macaque prioritizes compile-time safety and composability, aiming to eliminate runtime SQL errors through rigorous typing while maintaining the expressiveness of raw SQL.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.