Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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.
Here's an example codebase using these features: https://github.com/launchbadge/realworld-axum-sqlx/blob/main/src/http/articles/listing.rs
https://github.com/kyleconroy/sqlc is pretty cool. Mainly for Go, but other languages are getting more support.
I was looking around more and I found this OCaml library: https://github.com/darioteixeira/pgocaml
Related posts
- copy slice of struct to [][]interface{}
- Is it a good practice to make a wrapper around database?
- Style/Pattern for Go Database, DTO& Validation Struct
- How not to bleed implementation details (transaction) in the HTTP Handler?
- Unpopular request. I am up to replace Ecto (at least, the query part) with queries generated out of pure SQL. What are my options?