Documentation ¶ Index ¶ func ToLiteral(val any) string 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. Source Files ¶ View all Source files sqlstring.go Click to show internal directories. Click to hide internal directories.