sqlx

command
v0.0.0-...-78dbd8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Build and run some queries using the SQLX library. The main advantage of this library is automatic scanning of rows into structs, or slices of structs. This cuts down on the boilerplate considerably. However, SQLX embeds the database/sql package's DB object, meaning that it does not work directly with PGX, and it also provides a very large api surface area. Because SQLX is only concerned with querying and scanning, it can be combined with a query builder library that provides the actual query strings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL