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.
Click to show internal directories.
Click to hide internal directories.