SQLx

It is a tool that facilitates database operations by expanding the Go language's standard database/sql library. It can directly match query results to struct, map, or slide structures, offering named parameter support. Because it is compatible with standard library interfaces, it is easy to integrate into existing codebases.

SQ

jmoiron · ORM & Database Tooling

STARS17.7K
FORKS1.1K
COMMITS—
CONTRIBUTORS90
VERSIONv1.4.0
UPDATED2 yr ago
gosqlDatabaseType-SafeMIT
What can it do?
  • You export database query results directly to Go struct, map, or Slice structures.
  • You manage database queries with named parameters and prepared statements.
  • You expand existing database codes by maintaining standard database/sql interfaces.
Heads up
  • • Last update 2 years ago
User reviews
  • ↓ NegativeHacker News

    SQLx – Rust SQL Toolkit

    “I think it's only a non-starter for me in SQLx if not using query caching. Caching makes the situation workable. For sqlc, it isn't really a big problem because you only need to run the code generation when you're actually modifying database things. Still, with that having been…”

  • • NeutralHacker News

    SQLx – Rust SQL Toolkit

    “> Especially with compile-time checking. no compile time checking and integration tests in general sqlx only provides the most minimal string based query building so you can easily run into annoying edge cases you forgot to test, so if your project needs that, libraries like…”

My note

More in: ORM & Database Tooling