sqlescape

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeID

func EscapeID(in string) string

EscapeID returns a backticked identifier given an input string.

func EscapeIDs added in v0.13.0

func EscapeIDs(identifiers []string) []string

EscapeIDs runs sqlescape.EscapeID() for all entries in the slice.

func UnescapeID added in v0.13.0

func UnescapeID(in string) string

UnescapeID reverses any backticking in the input string.

func WriteEscapeID

func WriteEscapeID(buf *strings.Builder, in string)

WriteEscapeID writes a backticked identifier from an input string into buf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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