Help us shape the future of Go! Take the 2026 Go Developer Survey

sqlstring

package
v0.87.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToLiteral

func ToLiteral(val any) string

ToLiteral converts a Go value to its corresponding SQL literal representation. It handles primitive types and lists. All other types are emitted as JSON-encoded strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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