pure-orm
mammoth
Our great sponsors
pure-orm | mammoth | |
---|---|---|
13 | 4 | |
387 | 492 | |
- | -0.2% | |
4.7 | 0.0 | |
4 months ago | 7 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
pure-orm
- An ORM which only does object relational mapping
- Write SQL and say goodbye to niche query builder APIs
- Write SQL, not niche query builder APIs
-
Do you ever avoid submitting something on HN so devs don't ruin it?
I would certainly hate for devs to hate on this top-secret pure orm project [0].
[0] https://github.com/craigmichaelmartin/pure-orm
- An ORM that is only an ORM
- A new ORM built on SQL not query building APIs
- Write universally understandable SQL, not library-specific niche ORM wrapper apis
- Show HN: Write universally accessible SQL, not library-specific ORM wrapper APIs
mammoth
-
PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno
Super happy user of this [1] it's rather minimalistic but great.
[1] https://github.com/Ff00ff/mammoth
- Mammoth: A type-safe Postgres query builder pur sang for TypeScript
-
Kysely — A type-safe SQL query builder for typescript
This looks awesome. I had previously used Mammoth, but will dig into your library this weekend. Great job!
-
Show HN: Write universally accessible SQL, not library-specific ORM wrapper APIs
In a type-safe environment I think you should just be able to switch your pur sang SQL builder to another dialect. Because of the type-safety you’ll be able to find incompatibilities at compile time which makes the migration easy enough (ignoring data migration). This avoids creating a weird ad hoc SQL dialect trying to fit all the others in a single API.
I work on Mammoth which is a pur sang Postgres query builder, see https://github.com/Ff00ff/mammoth.
What are some alternatives?
rusqlite-model - Model trait and derive implementation for rusqlite
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
Norm - The SQL generation library you already know how to use.
Sqlmancer - Conjure SQL from GraphQL queries 🧙🔮✨
gluegun - A delightful toolkit for building TypeScript-powered command-line apps.
ucast - Conditions query translator for everything
pgdbf - Convert XBase / FoxPro databases to PostgreSQL
return-youtube-dislike - Chrome extension to return youtube dislikes
Hangfire - An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
sql-formatter - A whitespace formatter for different query languages
pitwall-pg - A postgres library to help write safe, parameterized, transaction-aware SQL for when an ORM or query builder isn't the right tool for the job