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.12.0
Published
Mar 18, 2026
Platform
darwin/amd64
Last checked
48 minutes ago

Tools for package owners.