github.com/ido50/sqlz
Package sqlz (pronounced "sequelize") is an un-opinionated, un-obtrusive SQL query builder for Go projects, based on github.com/jmoiron/sqlx. As opposed to other query builders, sqlz does not mean to bridge the gap between different SQL servers and implementations by providing a unified interface. Instead, it aims to support an extended SQL syntax that may be implementation-specific. For example, if you wish to use PostgreSQL-specific features such as JSON operators and upsert statements, sqlz means to support these without caring if the underlying database backend really is PostgreSQL. In other words, sqlz builds whatever queries you want it to build. sqlz is easy to integrate into existing code, as it does not require you to create your database connections through the sqlz API; in fact, it doesn't supply one. You can either use your existing `*sql.DB` connection or an `*sqlx.DB` connection, so you can start writing new queries with sqlz without having to modify any existing code. sqlz leverages sqlx for easy loading of query results. Please make sure you are familiar with how sqlx works in order to understand how row scanning is performed. You may need to add `db` struct tags to your Go structures. sqlz provides a comfortable API for running queries in a transaction, and will automatically commit or rollback the transaction as necessary.
proxy.golang.org
v1.3.0
about 1 year ago
7
5
10
github.com/metis-data/go-interceptor v0.0.0-20231129104407-89b9b7f50355
4 versions - Latest release: over 2 years ago - 0 stars on GitHubgithub.com/hookart/0x-mesh v0.0.0-20230907194003-129f7f162db8
A peer-to-peer network for sharing 0x orders1 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/map-bgp/browserbook/browserbook-mesh v0.0.0-20210826085140-613d1fa7c134
Peer to peer browser based decentralized exchange1 version - Latest release: over 4 years ago - 2 stars on GitHub
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/ido50/sqlz
spec |
| License | Apache-2.0 |
| Namespace | github.com/ido50 |
| First Release | over 5 years ago |
| Last Synced | 7 days ago |