{"modulePath":"github.com/labstack/pitot","version":"v0.0.0-20261203190323-691c381990d4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sqlscan\n\nPackage sqlscan scans SQL quoted regions and comments without interpreting SQL.\n\n## Functions\n\n```go\nfunc Parameters(text string) []string\n```\nParameters returns named SQL parameters in source order, excluding quoted text and comments. It does not parse or authorize the SQL expression.\n\n## Types\n\n```go\ntype Region struct {\n\tEnd     int\n\tQuote   byte\n\tComment bool\n\tMessage string\n}\n```\nRegion identifies a string, quoted identifier, or comment starting at a byte offset. End is exclusive; Message is nonempty for an unterminated region.\n\n```go\nfunc At(text string, start int) Region\n```\nAt returns the region at start, or an empty region for ordinary SQL text. SQL quotes escape themselves by doubling; block comments may nest.\n\n","path":"github.com/labstack/pitot/internal/sqlscan","name":"sqlscan","synopsis":"Package sqlscan scans SQL quoted regions and comments without interpreting SQL.","isRedistributable":true}
