FSharp.Data.Npgsql
potygen
FSharp.Data.Npgsql | potygen | |
---|---|---|
2 | 2 | |
121 | - | |
0.0% | - | |
0.0 | - | |
over 1 year ago | - | |
F# | ||
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FSharp.Data.Npgsql
potygen
- Kysely: TypeScript SQL Query Builder
-
Objection to ORM Hatred
I really hope the community converges on just one common solution to this as I see soo many different approaches to the same “there’s no great modular ORM for typescript” problem.
I myself went the route of “lets just have raw sql queries” but extract distinct and specific types from them automatically- https://github.com/potygen/potygen
Great thing is that it handles sql of any complexity - CTEs, views, nested selects/joins/unions/custom functions you name it. All tools you can use to encapsulate logic in sql itself (what ORM were supposed to be for) and then have it be statically validated at compile time thus saving you the need for righting all those trivial unit tests that was also one of the key benefits of ORMs.
Admittedly if there was something like LINQ I would probably not have ventured into building potygen, but I’m glad I did as I learned so much about SQL as a language and what it had to offer - its silly how much logic I used to rely on writing in code that could easily be handled by sql in a much mode concise way.
What are some alternatives?
Donald - A lightweight, generic F# database abstraction.
kanel - Generate Typescript types from Postgres
Npgsql.FSharp - Thin F# wrapper around Npgsql, the PostgreSQL database driver for .NET
Thoth.Json.Net
Falco - A toolkit for building fast and functional-first web applications using F#.
tsql - Transact-SQL template combinators.
postgresql-typed - Haskell PostgreSQL library with compile-time type inference
kysely - A type-safe typescript SQL query builder [Moved to: https://github.com/kysely-org/kysely]
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.