package pqsql

import "github.com/lib/pq/internal/pqsql"

Index

Functions

func StartsWithCopy

func StartsWithCopy(query string) bool

StartsWithCopy reports if the SQL strings start with "copy", ignoring whitespace, comments, and casing.

Source Files

copy.go

Version
v1.11.2
Published
Feb 10, 2026
Platform
windows/amd64
Last checked
5 minutes ago

Tools for package owners.