sq
vlcn-orm
sq | vlcn-orm | |
---|---|---|
10 | 3 | |
227 | 207 | |
- | 0.0% | |
5.9 | 0.9 | |
9 days ago | about 1 year ago | |
Go | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
sq
-
How to use prepared queries wisely - postgres & pgx & squirell
You can use my library sq which handles this exact use case with the PreparedQuery type. It allows you to build a query programmatically, prepare it and optionally rebind parameters by name.
-
How to Work with SQL Databases in Go
Have you seen my library https://github.com/bokwoon95/sq? You can use it like database/sql and write plain SQL strings, only needing to provide a function that maps an database row to a struct and generics returns a slice of those structs at the end.
-
DRY pgx / database/sql?
Also consider my library sq which handles dynamic query generation as well as data mapping. You may find it simpler than bun because it's a lot closer to database/sql (it doesn't require a special DB object, it uses a plain *sql.DB).
-
Ent: An Entity Framework for Go
> I didn't see anything to help me build back graphs
Hmm you've certainly given me something to think about. Thanks.
BTW joins are not challenging, but you made me realize I didn't show any joins in my basic examples. Here is UPDATE with JOIN example: https://bokwoon.neocities.org/sq.html#postgres-update-with-j....
-
scan rows into types powered by generics
How does it compare to https://github.com/bokwoon95/sq?
- Show HN: An SQL data mapper using Go generics
- A type-safe struct mapper and query builder for Go (using generics)
- A struct mapper, query builder and migration tool for Go.
vlcn-orm
- Ent: An Entity Framework for Go
-
EdgeDB 2.0
- https://aphrodite.sh
I wonder if EdgeDB provides any utilities to make this already perhaps? Or community has to build some kind of CRDT software that builds on top of EdgeDB that will do local syncing?
-
Aphrodite: ORM designed for Local-First applications and P2P data transfer
I'm curious how other posters formed an opinion about this framework: the site sends an invalid (premature end of file) https certificate and forbids plain http. That's despite trying firefox, ms edge, internet explorer, and wget.
In the meantime, it seems as though their typescript repository [0] is released under the terms of the apache v2.0 license.
[0] https://github.com/tantaman/aphrodite/
What are some alternatives?
scan - scan sql rows into any type powered by generics
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
korm - KORM, an elegant and lightning-fast ORM for all your concurrent and async needs. Inspired by the highly popular Django Framework, KORM offers similar functionality with the added bonus of performance
edgedb-examples - EdgeDB example projects for different stacks
typed-graphql-builder - A fully type-safe graphql query builder, inspired by tql
edgedb-go - The official Go client library for EdgeDB
node-sql - SQL generation for node.js
edgedb-cli - The EdgeDB CLI
sqddl - sqddl is a zero-configuration database migration tool.
go_sql_benchmarks
better-sql - Generate sql query from a concise query syntax inspired from EdgeDB and GraphQL