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.1
Published
Jan 29, 2026
Platform
js/wasm
Last checked
2 hours ago

Tools for package owners.