squirrel

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: 7 Imported by: 0

Documentation

Overview

Build and run some queries using the Squirrel library. The main advantage of this library is using it to build dynamic queries, though it can be used to build any queries. A very minor disadvantage is that it doesn't use postgres' =ANY($1) format for IN queries using a slice, and instead enumerates all values in the slice. Because it only creates the SQL string and argument list, it can be combined with other libraries that do struct scanning or querying. It works with both database/sql and pgx.

Jump to

Keyboard shortcuts

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