pgocaml

PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code. (by darioteixeira)

Pgocaml Alternatives

Similar projects and alternatives to pgocaml

  1. sqlc

    181 pgocaml VS sqlc

    Generate type-safe code from SQL

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. livebook

    89 pgocaml VS livebook

    Automate code & data workflows with interactive Elixir notebooks

  4. realworld-axum-sqlx

    A Rust implementation of the Realworld demo app spec using Axum and SQLx.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pgocaml alternative or higher similarity.

pgocaml discussion

Log in or Post with

pgocaml reviews and mentions

Posts with mentions or reviews of pgocaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-27.
  • Tools to generate type safe code models from Postgres schema?
    3 projects | /r/PostgreSQL | 27 Mar 2022
    I was looking around more and I found this OCaml library: https://github.com/darioteixeira/pgocaml
  • Ask HN: What is the killer app/library of your favorite language?
    2 projects | news.ycombinator.com | 20 Feb 2022
    Although I haven't had to use it in several years, I'm quite fond of the OCaml extension I wrote which integrates PostgreSQL statements directly into the language. Values are type-checked across the boundary, SQL commands are validated at compile time, and proper prepared statements get generated (also at compile time). It's a little bit like MS Linq in concept, but it works by using PGSQL "DESCRIBE" to send the statement to the PostgreSQL server when compiling the code to do the validation and get the types. It really made writing database-baked websites less of a grind. https://github.com/darioteixeira/pgocaml

Stats

Basic pgocaml repo stats
2
161
2.4
3 days ago

darioteixeira/pgocaml is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of pgocaml is OCaml.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai