package querytext

import "github.com/microsoft/go-mssqldb/internal/querytext"

Package querytext is the old query parser and parameter substitute process. Do not use on new code.

This package is not subject to any API compatibility guarantee.

Index

Functions

func ParseParams

func ParseParams(query string) (string, int)

ParseParams rewrites the query from using "?" placeholders to using "@pN" parameter names that SQL Server will accept.

This function and package is not subject to any API compatibility guarantee.

Source Files

parser.go

Version
v1.4.0
Published
Jul 20, 2023
Platform
darwin/amd64
Imports
3 packages
Last checked
44 minutes ago

Tools for package owners.