Help us shape the future of Go! Take the 2026 Go Developer Survey

query

package
v1.74.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Package query provides a fluent query builder for PostgreSQL using the Masterminds/squirrel library with dollar-sign placeholder formatting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	squirrel.StatementBuilderType
}

Query is a fluent query builder that wraps squirrel.StatementBuilderType with PostgreSQL-compatible dollar-sign placeholders ($1, $2, etc.).

func New

func New() Query

New creates a new Query instance configured for PostgreSQL with dollar sign placeholders. Use this to build SQL queries with a fluent API.

Jump to

Keyboard shortcuts

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