sqllex

package
v1.0.91 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package sqllex recognizes PostgreSQL lexical boundaries without parsing SQL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(sql string, parameter, lineComment func(string) string) string

Walk visits named parameters and standalone line comments in executable SQL. Quoted strings/identifiers, dollar bodies, casts and nested block comments are opaque. Returning replacement text is literal: it is never scanned again.

Types

This section is empty.

Jump to

Keyboard shortcuts

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