Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileLikePattern ¶
func CompileLikePattern(c Compiler, match database.StringMatch, value string)
CompileLikePattern writes a dialect-agnostic LIKE pattern expression using WriteArg for the escaped value and WriteString for SQL fragments.
func EscapeLikePattern ¶
EscapeLikePattern escapes %, _, and \ in a LIKE/ILIKE pattern literal.
Types ¶
Click to show internal directories.
Click to hide internal directories.