Comment

Comment by andy_ppp

This is one of numerous things Elixir and Phoenix get right with the database layer, which on the surface looks like an ORM but is in fact a set of clever functions that write SQL using Elixir macros, as well as a system for validation and minimal changes to data being passed to said SQL.

I’m surprised more languages don’t copy this because it’s exactly what I want rather than loads of complexity that eventually always breaks down.

parent andy_ppp 3 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton