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