DISCOVERED IN HACKER NEWS
Npgsql.FSharp
Npgsql.FSharp: a product linked in Hacker News recommendation discussions.
Developer tools
1Recommendation signals
1Sources
2026-02-18Latest mention
Why does HN talk about it?
Automatically selected excerpts in their original language. Read the full discussion for context.
My favourite Postgres one is: https://github.com/Zaid-Ajaj/Npgsql.FSharp https://github.com/Zaid-Ajaj/Npgsql.FSharp This simple sample executes query and read results as table then map the results open Npgsql.FSharp type User = { Id: int FirstName: string LastName: string } let getAllUsers (connectionString: string) : User list = connectionString |> Sql.connect |> Sql.query "SELECT * FROM users" |> Sql.execute (fun read -> { Id = read.int "user_id" FirstName = read.text "first_name" LastName = read.text "last_name" })Read the full discussion